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
f6e2c4eb
Kaydet (Commit)
f6e2c4eb
authored
May 15, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cleanup Control::ImplInitSettings
Change-Id: Ifb10da3006aa2b546945dec4ba76660c4b3f052f
üst
208616be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ctrl.cxx
vcl/source/control/ctrl.cxx
+8
-8
No files found.
vcl/source/control/ctrl.cxx
Dosyayı görüntüle @
f6e2c4eb
...
@@ -422,22 +422,22 @@ void Control::ImplInitSettings( const bool _bFont, const bool _bForeground )
...
@@ -422,22 +422,22 @@ void Control::ImplInitSettings( const bool _bFont, const bool _bForeground )
{
{
const
StyleSettings
&
rStyleSettings
=
GetSettings
().
GetStyleSettings
();
const
StyleSettings
&
rStyleSettings
=
GetSettings
().
GetStyleSettings
();
if
(
_bFont
)
if
(
_bFont
)
{
{
Font
aFont
(
GetCanonicalFont
(
rStyleSettings
)
);
Font
aFont
(
GetCanonicalFont
(
rStyleSettings
)
);
if
(
IsControlFont
()
)
if
(
IsControlFont
()
)
aFont
.
Merge
(
GetControlFont
()
);
aFont
.
Merge
(
GetControlFont
()
);
SetZoomedPointFont
(
aFont
);
SetZoomedPointFont
(
aFont
);
}
}
if
(
_bForeground
||
_bFont
)
if
(
_bForeground
||
_bFont
)
{
{
Color
aColor
;
Color
aColor
;
if
(
IsControlForeground
()
)
if
(
IsControlForeground
()
)
aColor
=
GetControlForeground
();
aColor
=
GetControlForeground
();
else
else
aColor
=
GetCanonicalTextColor
(
rStyleSettings
);
aColor
=
GetCanonicalTextColor
(
rStyleSettings
);
SetTextColor
(
aColor
);
SetTextColor
(
aColor
);
SetTextFillColor
();
SetTextFillColor
();
}
}
}
}
...
...
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