summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 15:28:47 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 15:28:47 +0000
commite6b426a14cd7c13074b691463c990b6437d64f30 (patch)
tree08d5a130dd10df4db48964bfc4af5de2ba8f7515 /sfx2/source/doc
parent3b21cc6ea08feff5f811600ed0fa5584e7d1704c (diff)
INTEGRATION: CWS mbaqfixes (1.60.12); FILE MERGED
2004/02/23 18:12:27 mba 1.60.12.1: #112300#: events for export added; save/export events revisited
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/objserv.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 6a66bd14b89d..1b5dbad5f492 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: objserv.cxx,v $
*
- * $Revision: 1.60 $
+ * $Revision: 1.61 $
*
- * last change: $Author: kz $ $Date: 2004-01-28 19:14:07 $
+ * last change: $Author: hr $ $Date: 2004-03-08 16:28:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -827,6 +827,7 @@ sal_Bool SfxObjectShell::GUISaveAs_Impl(sal_Bool bUrl, SfxRequest *pRequest)
if ( bCopyTo )
{
// restore DocumentInfo if only a copy was created
+ //! This seems to be a hack: the DocInfo should never be changed!
SfxDocumentInfo &rDocInfo = GetDocInfo();
rDocInfo = aSavedInfo;
}
@@ -1101,8 +1102,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
ResetError();
rReq.SetReturnValue( SfxBoolItem(0, bOk) );
- if ( bOk )
- SFX_APP()->NotifyEvent(SfxEventHint(SFX_EVENT_SAVEDOCDONE,this));
+ SFX_APP()->NotifyEvent(SfxEventHint(SFX_EVENT_SAVEDOCDONE,this));
break;
}