diff options
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/about.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index f26a1761ca2a..de838b0d2bf5 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -160,7 +160,7 @@ void AboutDialog::StyleControls() const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); - vcl::Font aLabelFont = rStyleSettings.GetLabelFont(); + const vcl::Font& aLabelFont = rStyleSettings.GetLabelFont(); vcl::Font aLargeFont = aLabelFont; aLargeFont.SetFontSize(Size( 0, aLabelFont.GetFontSize().Height() * 3)); diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 92d542389383..6175603eccdc 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -831,9 +831,8 @@ OUString TPGalleryThemeProperties::addExtension( const OUString& _rDisplayText, if ( sRet.indexOf( sAllFilter ) == -1 ) { - OUString sExt = _rExtension; sRet += sOpenBracket; - sRet += sExt; + sRet += _rExtension; sRet += sCloseBracket; } return sRet; |