diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-09-10 19:04:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-09-10 19:07:18 +0300 |
commit | 71f75fcac9d3696010f7cda16115c4392559ff4b (patch) | |
tree | d54e9cb04ed5848e8dca949bcbc07b0cecbf3fb8 /sfx2/source/toolbox | |
parent | 778dd8f6f1b272c01e848235613d839b9c42b07b (diff) |
no member named 'UNKNOWN' in 'SfxItemState'
Change-Id: Ice3d2bc4a575b324377273cdb655e06577f6a4a2
Diffstat (limited to 'sfx2/source/toolbox')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 4 |
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"); |