summaryrefslogtreecommitdiff
path: root/sfx2/source/toolbox
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/toolbox
parentce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (diff)
Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULT
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
Diffstat (limited to 'sfx2/source/toolbox')
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 71af4187dafe..47348ec1e989 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -402,7 +402,7 @@ SfxItemState SfxToolBoxControl::GetItemState(
Enabled but there were only ambiguous values available
(i.e. none that could be queried).
- SFX_ITEM_AVAILABLE
+ SFX_ITEM_DEFAULT
Enabled and with available values which can be queried
through'pState'. The type is thus by the Slot clearly
defined in the entire Program.
@@ -415,7 +415,7 @@ SfxItemState SfxToolBoxControl::GetItemState(
? SFX_ITEM_DONTCARE
: pState->ISA(SfxVoidItem) && !pState->Which()
? SFX_ITEM_UNKNOWN
- : SFX_ITEM_AVAILABLE;
+ : SFX_ITEM_DEFAULT;
}
void SfxToolBoxControl::Dispatch(
@@ -511,7 +511,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
SfxPoolItem* pItem = NULL;
if ( rEvent.IsEnabled )
{
- eState = SFX_ITEM_AVAILABLE;
+ eState = SFX_ITEM_DEFAULT;
::com::sun::star::uno::Type pType = rEvent.State.getValueType();
if ( pType == ::getVoidCppuType() )
@@ -909,7 +909,7 @@ void SfxToolBoxControl::StateChanged
::TriState eTri = TRISTATE_FALSE;
switch ( eState )
{
- case SFX_ITEM_AVAILABLE:
+ case SFX_ITEM_DEFAULT:
if ( pState )
{
if ( pState->ISA(SfxBoolItem) )
@@ -1059,7 +1059,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
SfxPoolItem* pItem = NULL;
if ( rEvent.IsEnabled )
{
- eState = SFX_ITEM_AVAILABLE;
+ eState = SFX_ITEM_DEFAULT;
::com::sun::star::uno::Type pType = rEvent.State.getValueType();
if ( pType == ::getVoidCppuType() )