summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/glshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/glshell.cxx')
-rw-r--r--sw/source/uibase/misc/glshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx
index adc97e02d0fc..6fa877697c3d 100644
--- a/sw/source/uibase/misc/glshell.cxx
+++ b/sw/source/uibase/misc/glshell.cxx
@@ -92,7 +92,7 @@ static void lcl_Execute( SwDocShell& rSh, SfxRequest& rReq )
static void lcl_GetState( SwDocShell& rSh, SfxItemSet& rSet )
{
- if( SFX_ITEM_AVAILABLE >= rSet.GetItemState( SID_SAVEDOC, false ))
+ if( SFX_ITEM_DEFAULT >= rSet.GetItemState( SID_SAVEDOC, false ))
{
if( !rSh.GetDoc()->getIDocumentState().IsModified() )
rSet.DisableItem( SID_SAVEDOC );