summaryrefslogtreecommitdiff
path: root/sfx2/source/control/statcach.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-10 15:21:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-10 16:37:20 +0200
commit39e91c585d55b99a2b73ed2a58312a387763a4bc (patch)
tree8752da8db5cd2a73d7225a9cd9fccfe72f48627d /sfx2/source/control/statcach.cxx
parentce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (diff)
Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULT
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
Diffstat (limited to 'sfx2/source/control/statcach.cxx')
-rw-r--r--sfx2/source/control/statcach.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index b0a4e5935ea9..ec2b36c70a63 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -92,7 +92,7 @@ void SAL_CALL BindDispatch_Impl::statusChanged( const ::com::sun::star::frame::
}
else if (aStatus.State.hasValue())
{
- eState = SFX_ITEM_AVAILABLE;
+ eState = SFX_ITEM_DEFAULT;
::com::sun::star::uno::Any aAny = aStatus.State;
::com::sun::star::uno::Type pType = aAny.getValueType();
@@ -343,7 +343,7 @@ void SfxStateCache::SetState
void SfxStateCache::SetVisibleState( bool bShow )
{
- SfxItemState eState( SFX_ITEM_AVAILABLE );
+ SfxItemState eState( SFX_ITEM_DEFAULT );
const SfxPoolItem* pState( NULL );
bool bDeleteItem( false );