diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-15 00:52:08 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-15 00:52:17 +0200 |
commit | 81fa342c7aaddf94dc88a6014a69d18471775636 (patch) | |
tree | 36e7d79802484332a910d44fda53a70bf8dabf9d /svx | |
parent | 5145248c91e37d9a73de2d3d026f80c863ff0176 (diff) |
Reduce scope
Change-Id: If9941ea3cc7133397b9867b01d576529cc1e8f0b
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/fillctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index 29e3e3b8a59e..8de3238f5bf2 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -96,7 +96,6 @@ void SvxFillToolBoxControl::StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) { - bool bEnableControls = false; if ( bIgnoreStatusUpdate ) return; @@ -115,6 +114,7 @@ void SvxFillToolBoxControl::StateChanged( { if ( SFX_ITEM_AVAILABLE == eState ) { + bool bEnableControls = false; if( nSID == SID_ATTR_FILL_STYLE ) { delete pStyleItem; |