[Libreoffice-commits] core.git: svx/source
Julien Nabet
serval2412 at yahoo.fr
Wed Aug 14 15:52:39 PDT 2013
svx/source/tbxctrls/fillctrl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81fa342c7aaddf94dc88a6014a69d18471775636
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Aug 15 00:52:08 2013 +0200
Reduce scope
Change-Id: If9941ea3cc7133397b9867b01d576529cc1e8f0b
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index 29e3e3b..8de3238 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;
More information about the Libreoffice-commits
mailing list