diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-04-04 13:28:25 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-04-04 13:28:25 +0200 |
commit | d9e0c08b52dca00508485cc7a8082200a2693ec9 (patch) | |
tree | 0ee6a70dfba54a766e5b54cbb0b1b69b7891ba3e | |
parent | 84e99bd79ab4fef7e91bd302d1426cf1b3653b7f (diff) |
Reduce scope.
Change-Id: I32160cff67494cde2ad21cb6d6fe48091d600b8d
-rw-r--r-- | vcl/source/app/settings.cxx | 4 |
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 ) ); } } |