summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/tbxctrls/fillctrl.cxx2
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;