summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-04-04 13:28:25 +0200
committerJan Holesovsky <kendy@suse.cz>2013-04-04 13:28:25 +0200
commitd9e0c08b52dca00508485cc7a8082200a2693ec9 (patch)
tree0ee6a70dfba54a766e5b54cbb0b1b69b7891ba3e /vcl/source
parent84e99bd79ab4fef7e91bd302d1426cf1b3653b7f (diff)
Reduce scope.
Change-Id: I32160cff67494cde2ad21cb6d6fe48091d600b8d
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/settings.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index a23748857f7b..a45f5894c289 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -721,7 +721,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot
rHeaderFooterBitmap = BitmapEx();
// now read the new values and setup bitmaps
- OUString aHeader, aFooter, aColor;
+ OUString aHeader, aFooter;
if ( aPersona == "own" )
{
sal_Int32 nIndex = 0;
@@ -732,7 +732,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot
// change menu text color, advance nIndex to skip the '#'
if ( nIndex > 0 )
{
- aColor = aPersonaSettings.getToken( 0, ';', ++nIndex );
+ OUString aColor = aPersonaSettings.getToken( 0, ';', ++nIndex );
maMenuBarTextColor = Color( aColor.toInt64( 16 ) );
}
}