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
1a6c49e3
Kaydet (Commit)
1a6c49e3
authored
Nis 22, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: passing 'class OUString' by value, rather pass by reference
Change-Id: I744425e079c426745e02056153707675311e58ca
üst
3cdc48dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ThemePanel.cxx
sw/source/uibase/sidebar/ThemePanel.cxx
+6
-6
No files found.
sw/source/uibase/sidebar/ThemePanel.cxx
Dosyayı görüntüle @
1a6c49e3
...
...
@@ -130,7 +130,7 @@ public:
OUString
maElementName
;
public
:
StyleRedefinition
(
OUString
aElementName
)
StyleRedefinition
(
const
OUString
&
aElementName
)
:
maElementName
(
aElementName
)
{}
...
...
@@ -158,7 +158,7 @@ class StyleSet
std
::
vector
<
StyleRedefinition
>
maStyles
;
public
:
StyleSet
(
OUString
aName
)
StyleSet
(
const
OUString
&
aName
)
:
maName
(
aName
)
,
maStyles
()
{}
...
...
@@ -168,7 +168,7 @@ public:
maStyles
.
push_back
(
aRedefinition
);
}
StyleRedefinition
*
get
(
OUString
aString
)
StyleRedefinition
*
get
(
const
OUString
&
aString
)
{
for
(
size_t
i
=
0
;
i
<
maStyles
.
size
();
i
++
)
{
...
...
@@ -307,7 +307,7 @@ std::vector<FontSet> initFontSets()
return
aFontSets
;
}
FontSet
getFontSet
(
OUString
&
rFontVariant
,
std
::
vector
<
FontSet
>&
aFontSets
)
FontSet
getFontSet
(
const
OUString
&
rFontVariant
,
std
::
vector
<
FontSet
>&
aFontSets
)
{
for
(
size_t
i
=
0
;
i
<
aFontSets
.
size
();
++
i
)
{
...
...
@@ -348,7 +348,7 @@ std::vector<ColorSet> initColorSets()
return
aColorSets
;
}
ColorSet
getColorSet
(
OUString
&
rColorVariant
,
std
::
vector
<
ColorSet
>&
aColorSets
)
ColorSet
getColorSet
(
const
OUString
&
rColorVariant
,
std
::
vector
<
ColorSet
>&
aColorSets
)
{
for
(
size_t
i
=
0
;
i
<
aColorSets
.
size
();
++
i
)
{
...
...
@@ -358,7 +358,7 @@ ColorSet getColorSet(OUString& rColorVariant, std::vector<ColorSet>& aColorSets)
return
aColorSets
[
0
];
}
void
applyTheme
(
SfxStyleSheetBasePool
*
pPool
,
OUString
sFontSetName
,
OUString
sColorSetName
,
StyleSet
&
rStyleSet
)
void
applyTheme
(
SfxStyleSheetBasePool
*
pPool
,
const
OUString
&
sFontSetName
,
const
OUString
&
sColorSetName
,
StyleSet
&
rStyleSet
)
{
SwDocStyleSheet
*
pStyle
;
...
...
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