summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 22a36a73c2ae..0e559cb18169 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -549,7 +549,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
rEvent.State >>= aItemStatus;
SfxItemState tmpState = (SfxItemState) aItemStatus.State;
// make sure no-one tries to send us a combination of states
- if (eState != SfxItemState::UNKNOWN && eState != SFX_ITEM_DISABLED &&
+ if (eState != SFX_ITEM_UNKNOWN && eState != SFX_ITEM_DISABLED &&
eState != SFX_ITEM_READONLY && eState != SFX_ITEM_DONTCARE &&
eState != SFX_ITEM_DEFAULT && eState != SFX_ITEM_SET)
throw ::com::sun::star::uno::RuntimeException("unknown status");
@@ -1103,7 +1103,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
rEvent.State >>= aItemStatus;
SfxItemState tmpState = (SfxItemState) aItemStatus.State;
// make sure no-one tries to send us a combination of states
- if (eState != SfxItemState::UNKNOWN && eState != SFX_ITEM_DISABLED &&
+ if (eState != SFX_ITEM_UNKNOWN && eState != SFX_ITEM_DISABLED &&
eState != SFX_ITEM_READONLY && eState != SFX_ITEM_DONTCARE &&
eState != SFX_ITEM_DEFAULT && eState != SFX_ITEM_SET)
throw ::com::sun::star::uno::RuntimeException("unknown status");