diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-05-18 16:33:10 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-05-18 16:33:10 +0300 |
commit | 0c4c6c1d9967d04683a68dc9fb5de23f617eea24 (patch) | |
tree | 400b4f505b8c6a8f4af6b56279e2446bea942438 /svx | |
parent | e0f08c06aa49e9c3d63f57ffb643d0eba561096e (diff) |
Correct prefix
Change-Id: I767501475b0b826a76a8743513c60f25e70dea8a
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index d3a055e6bdaa..d1771f2f5dc5 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1238,21 +1238,21 @@ void SvxColorWindow_Impl::StateChanged( sal_uInt16 nSID, SfxItemState eState, co { aColorSet.SetNoSelection(); - Color rColor; + Color aColor; if ( pState->ISA( SvxColorItem ) ) - rColor = ((const SvxColorItem*)pState)->GetValue(); + aColor = ((const SvxColorItem*)pState)->GetValue(); else if ( pState->ISA( XLineColorItem ) ) - rColor = ((const XLineColorItem*)pState)->GetColorValue(); + aColor = ((const XLineColorItem*)pState)->GetColorValue(); for ( size_t i = 1; i <= aColorSet.GetItemCount(); ++i ) { - if ( rColor == aColorSet.GetItemColor(i) ) + if ( aColor == aColorSet.GetItemColor(i) ) { aColorSet.SelectItem(i); return; } } - if ( rColor == COL_AUTO || rColor == COL_TRANSPARENT ) + if ( aColor == COL_AUTO || aColor == COL_TRANSPARENT ) aColorSet.SelectItem(0); } } |