summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 12:40:26 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 12:40:26 +0000
commit32c4dd49ee992428adadc5dd62a1a1b353a6f8b0 (patch)
tree8a06deaf4972b86b9c57eea65e2ddcad0e168e53 /sfx2/source/appl/appopen.cxx
parent4bd8171246f3c139c27f3d5827e4a2e59fc6b04d (diff)
INTEGRATION: CWS basemodelrefactoring (1.109.92); FILE MERGED
2007/04/14 17:41:28 mba 1.109.92.2: RESYNC: (1.109-1.110); FILE MERGED 2007/03/29 19:31:50 mba 1.109.92.1: #i75677#: settings extracted from DocInfo
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r--sfx2/source/appl/appopen.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 34aaa89dd8..508b905a69 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: appopen.cxx,v $
*
- * $Revision: 1.112 $
+ * $Revision: 1.113 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 22:56:38 $
+ * last change: $Author: obo $ $Date: 2007-07-17 13:40:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -318,8 +318,7 @@ void SetTemplate_Impl( const String &rFileName,
{
// write TemplateName to DocumentInfo of document
// TemplateDate stays as default (=current date)
- SfxDocumentInfo &rInfo = pDoc->GetDocInfo();
- rInfo.ResetFromTemplate( rLongName, rFileName );
+ pDoc->ResetFromTemplate( rLongName, rFileName );
pDoc->FlushDocInfo();
}