diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-09-18 11:57:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-09-18 11:57:07 +0300 |
commit | 83ef257f0a32f23d84dcdec77186d02650a5773d (patch) | |
tree | 0d57d23abe1ffcf2f4b5470983047c60caf0b023 /vcl | |
parent | ac24f3fdbb83e91df2c51b9e174d2c5ce3236723 (diff) |
Use vcl::Font
Change-Id: I3ffc8beea76e6df00607330203d567e152b13611
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde/salnativewidgets-kde.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index 847bfc1c2cc0..816292668aa6 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -1755,7 +1755,7 @@ static Color readColor( KConfig *pConfig, const char *pKey ) Mostly grabbed from the Gtk+ vclplug (salnativewidgets-gtk.cxx). */ -static Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& rLocale ) +static vcl::Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& rLocale ) { psp::FastPrintFontInfo aInfo; QFontInfo qFontInfo( rQFont ); @@ -1815,7 +1815,7 @@ static Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& r nPointHeight = rQFont.pointSize(); // Create the font - Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) ); + vcl::Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) ); if( aInfo.m_eWeight != WEIGHT_DONTKNOW ) aFont.SetWeight( aInfo.m_eWeight ); if( aInfo.m_eWidth != WIDTH_DONTKNOW ) @@ -1871,7 +1871,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) pKey = "titleFont"; if ( pConfig->hasKey( pKey ) ) { - Font aFont = toFont( pConfig->readFontEntry( pKey ), rSettings.GetUILanguageTag().getLocale() ); + vcl::Font aFont = toFont( pConfig->readFontEntry( pKey ), rSettings.GetUILanguageTag().getLocale() ); aStyleSettings.SetTitleFont( aFont ); bSetTitleFont = true; } @@ -1932,7 +1932,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) aStyleSettings.SetHighlightTextColor( toColor( qColorGroup.highlightedText() ) ); // Font - Font aFont = toFont( QApplication::font(), rSettings.GetUILanguageTag().getLocale() ); + vcl::Font aFont = toFont( QApplication::font(), rSettings.GetUILanguageTag().getLocale() ); aStyleSettings.SetAppFont( aFont ); aStyleSettings.SetHelpFont( aFont ); |