summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-02-26 14:02:46 +0000
committerOliver Bolte <obo@openoffice.org>2008-02-26 14:02:46 +0000
commitd65e94683014e269539cb2cc5652b5874c54fd9d (patch)
tree20666ae4cd276da7c4191ab0f723862ad3f78fb0 /sfx2/source/appl/appopen.cxx
parentacc5de9d82da32b9c8390f9837e0c5887921d8a0 (diff)
INTEGRATION: CWS custommeta (1.116.20); FILE MERGED
2008/01/29 17:26:59 mst 1.116.20.2: interface change: SfxObjectShell - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objmisc.cxx, sfx2/source/doc/sfxbasemodel.cxx, sfx2/source/appl/appopen.cxx, sfx2/source/appl/sfxpicklist.cxx, sfx2/source/view/viewprn.cxx: + new template method SfxObjectShell::DoFlushDocInfo + remove broadcast of SfxDocumentInfoHint + remove superfluous calls to FlushDocInfo 2008/01/25 16:14:17 mst 1.116.20.1: - sfx2/source/appl/{appopen.cxx,sfxpicklist.cxx}, sfx2/source/view/viewprn.cxx: + adapt to new SfxDocumentInfoHint + use XDocumentProperties instead of SfxDocumentInfo
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r--sfx2/source/appl/appopen.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 97abcdfd69..538a3c7649 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: appopen.cxx,v $
*
- * $Revision: 1.116 $
+ * $Revision: 1.117 $
*
- * last change: $Author: ihi $ $Date: 2007-11-26 16:46:28 $
+ * last change: $Author: obo $ $Date: 2008-02-26 15:02:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -162,14 +162,10 @@
#include <rtl/logfile.hxx>
-#ifndef GCC
-#endif
-
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/docfile.hxx>
-#include <sfx2/docinf.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/new.hxx>
#include <sfx2/objitem.hxx>
@@ -319,7 +315,6 @@ void SetTemplate_Impl( const String &rFileName,
// write TemplateName to DocumentInfo of document
// TemplateDate stays as default (=current date)
pDoc->ResetFromTemplate( rLongName, rFileName );
- pDoc->FlushDocInfo();
}
//--------------------------------------------------------------------
@@ -361,7 +356,6 @@ ULONG CheckPasswd_Impl
// the storage either has no encrypted elements or it's just
// does not allow to detect it, probably it should be implemented laiter
/*
- SfxDocumentInfo aInfo;
bIsEncrypted = ( aInfo.Load( xStorage ) && aInfo.IsPasswd() );
*/
}
@@ -565,7 +559,6 @@ ULONG SfxApplication::LoadTemplate( SfxObjectShellLock& xDoc, const String &rFil
else
SetTemplate_Impl( rFileName, String(), xDoc );
- xDoc->Broadcast( SfxDocumentInfoHint( &xDoc->GetDocInfo() ) );
xDoc->SetNoName();
xDoc->InvalidateName();
xDoc->SetModified(FALSE);