summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/tbxww.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app/tbxww.cxx')
-rw-r--r--sd/source/ui/app/tbxww.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/tbxww.cxx b/sd/source/ui/app/tbxww.cxx
index 5a7b12e02ba3..734112851e02 100644
--- a/sd/source/ui/app/tbxww.cxx
+++ b/sd/source/ui/app/tbxww.cxx
@@ -132,7 +132,7 @@ void SdTbxControl::StateChanged( sal_uInt16 nSId,
{
SfxToolBoxControl::StateChanged( nSId, eState, pState );
- if( eState == SFX_ITEM_AVAILABLE )
+ if( eState == SFX_ITEM_DEFAULT )
{
TbxImageItem* pItem = PTR_CAST( TbxImageItem, pState );
// StarDesktop can also receive another item,