Kaydet (Commit) d9e0c08b authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Reduce scope.

Change-Id: I32160cff67494cde2ad21cb6d6fe48091d600b8d
üst 84e99bd7
...@@ -721,7 +721,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot ...@@ -721,7 +721,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot
rHeaderFooterBitmap = BitmapEx(); rHeaderFooterBitmap = BitmapEx();
// now read the new values and setup bitmaps // now read the new values and setup bitmaps
OUString aHeader, aFooter, aColor; OUString aHeader, aFooter;
if ( aPersona == "own" ) if ( aPersona == "own" )
{ {
sal_Int32 nIndex = 0; sal_Int32 nIndex = 0;
...@@ -732,7 +732,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot ...@@ -732,7 +732,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot
// change menu text color, advance nIndex to skip the '#' // change menu text color, advance nIndex to skip the '#'
if ( nIndex > 0 ) if ( nIndex > 0 )
{ {
aColor = aPersonaSettings.getToken( 0, ';', ++nIndex ); OUString aColor = aPersonaSettings.getToken( 0, ';', ++nIndex );
maMenuBarTextColor = Color( aColor.toInt64( 16 ) ); maMenuBarTextColor = Color( aColor.toInt64( 16 ) );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment