Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
cd10abe0
Kaydet (Commit)
cd10abe0
authored
Eki 14, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify PPPOptimizerTokenEnum -> OUString
Change-Id: I88176f00c5fb356d63ecfdd291c006e88606a604
üst
3eb84bcb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
configurationaccess.cxx
sdext/source/minimizer/configurationaccess.cxx
+3
-3
configurationaccess.hxx
sdext/source/minimizer/configurationaccess.hxx
+1
-1
optimizerdialog.cxx
sdext/source/minimizer/optimizerdialog.cxx
+1
-1
No files found.
sdext/source/minimizer/configurationaccess.cxx
Dosyayı görüntüle @
cd10abe0
...
...
@@ -162,15 +162,15 @@ ConfigurationAccess::~ConfigurationAccess()
{
}
OUString
ConfigurationAccess
::
getPath
(
const
PPPOptimizerTokenEnum
eT
oken
)
OUString
ConfigurationAccess
::
getPath
(
OUString
const
&
t
oken
)
{
OUString
aPath
;
try
{
static
const
OUString
sProtocol
(
"vnd.sun.star.expand:"
);
Reference
<
container
::
XNameAccess
>
xSet
(
OpenConfiguration
(
true
),
UNO_QUERY_THROW
);
if
(
xSet
->
hasByName
(
TKGet
(
eToken
)
)
)
xSet
->
getByName
(
TKGet
(
eToken
)
)
>>=
aPath
;
if
(
xSet
->
hasByName
(
token
)
)
xSet
->
getByName
(
token
)
>>=
aPath
;
if
(
aPath
.
match
(
sProtocol
,
0
)
)
{
OUString
aTmp
(
aPath
.
copy
(
20
)
);
...
...
sdext/source/minimizer/configurationaccess.hxx
Dosyayı görüntüle @
cd10abe0
...
...
@@ -87,7 +87,7 @@ class ConfigurationAccess
~
ConfigurationAccess
();
void
SaveConfiguration
();
OUString
getPath
(
const
PPPOptimizerTokenEnum
);
OUString
getPath
(
OUString
const
&
token
);
OUString
getString
(
const
PPPOptimizerTokenEnum
)
const
;
// access to current OptimizerSettings (stored in the first entry of maSettings)
...
...
sdext/source/minimizer/optimizerdialog.cxx
Dosyayı görüntüle @
cd10abe0
...
...
@@ -118,7 +118,7 @@ void OptimizerDialog::InitRoadmap()
InsertRoadmapItem
(
3
,
sal_True
,
getString
(
STR_OLE_OBJECTS
),
ITEM_ID_OLE_OPTIMIZATION
);
InsertRoadmapItem
(
4
,
sal_True
,
getString
(
STR_SUMMARY
),
ITEM_ID_SUMMARY
);
OUString
sBitmapPath
(
getPath
(
TK_BitmapPath
)
);
OUString
sBitmapPath
(
getPath
(
"BitmapPath"
)
);
OUString
sBitmap
(
"/minimizepresi_80.png"
);
OUString
sURL
(
sBitmapPath
+=
sBitmap
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment