summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-06 16:26:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-06 16:28:27 +0100
commitfa9ff01fe4731a5d91da60ec3f5c2cafa7b3f382 (patch)
treee50a3098cc50b8318456c8076e5baab0fce29623 /sw
parent81c5bd4bd2a6104c3d1dd1c3b61206aad26d29cd (diff)
SID_DOC_MODIFIED should (probably) be a SfxBoolItem
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/app/docsh.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx
index 793b912e0217..ba82104c545e 100644
--- a/sw/source/ui/app/docsh.cxx
+++ b/sw/source/ui/app/docsh.cxx
@@ -379,6 +379,8 @@ sal_Bool SwDocShell::Save()
SfxViewFrame* pFrm = pWrtShell ? pWrtShell->GetView().GetViewFrame() : 0;
if( pFrm )
{
+ //TODO: this is probably wrong: we should have a SfxBoolItem here, is
+ //this intended to set the state to modified ? or not modified ?
pFrm->GetBindings().SetState( SfxStringItem( SID_DOC_MODIFIED, ' ' ));
}
return !IsError( nErr );