diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-06 16:33:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 08:54:39 +0100 |
commit | c42d6682723230a2d86a0ef218496b35fab1db06 (patch) | |
tree | 663e48d82b76aeeb763a5e5e1a79588098ae751e | |
parent | 10011d00a6566f095b463abaed51da86c3a1e1d3 (diff) |
probably want a SfxBoolItem of false here
-rw-r--r-- | sw/source/ui/app/docsh.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index ba82104c545e..c4d9e84ce3de 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -379,9 +379,7 @@ 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, ' ' )); + pFrm->GetBindings().SetState(SfxBoolItem(SID_DOC_MODIFIED, sal_False)); } return !IsError( nErr ); } |