summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/romenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/romenu.cxx')
-rw-r--r--sw/source/uibase/docvw/romenu.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx
index 33f1e175a43c..fa3c14755b4b 100644
--- a/sw/source/uibase/docvw/romenu.cxx
+++ b/sw/source/uibase/docvw/romenu.cxx
@@ -61,7 +61,7 @@ void SwReadOnlyPopup::Check( sal_uInt16 nMID, sal_uInt16 nSID, SfxDispatcher &rD
{
SfxPoolItem *_pItem = 0;
SfxItemState eState = rDis.GetBindings()->QueryState( nSID, _pItem );
- if (eState >= SFX_ITEM_AVAILABLE)
+ if (eState >= SFX_ITEM_DEFAULT)
{
EnableItem( nMID, true );
if (_pItem)
@@ -202,7 +202,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) :
SfxItemState eState = pVFrame->GetBindings().QueryState( SID_COPY, pState );
Check( MN_READONLY_COPY, SID_COPY, rDis );
- if(eState < SFX_ITEM_AVAILABLE)
+ if(eState < SFX_ITEM_DEFAULT)
EnableItem( MN_READONLY_COPY, false );
delete pState;
pState = NULL;