summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/animobjs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/animobjs.cxx')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 0fa83e45f29c..89dabc6a7a1b 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -1220,7 +1220,7 @@ AnimationControllerItem::AnimationControllerItem(
void AnimationControllerItem::StateChanged( sal_uInt16 nSId,
SfxItemState eState, const SfxPoolItem* pItem )
{
- if( eState >= SFX_ITEM_AVAILABLE && nSId == SID_ANIMATOR_STATE )
+ if( eState >= SFX_ITEM_DEFAULT && nSId == SID_ANIMATOR_STATE )
{
const SfxUInt16Item* pStateItem = PTR_CAST( SfxUInt16Item, pItem );
assert(pStateItem); //SfxUInt16Item expected