summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-22 13:00:08 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-22 13:00:08 +0000
commit668ab2c1c7dc9c29a45523b720a09c96b3829eb3 (patch)
treec227a283934f893263090a7f233343051bfda842 /sd/source
parent3c2a604dce1e751cc588c3669bf0cabfae500c5e (diff)
INTEGRATION: CWS impress105 (1.38.84); FILE MERGED
2006/08/17 07:29:44 af 1.38.84.1: #i67073# Added a call to UpdateRefDevice() after the document is created in Construct().
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/docshell/docshell.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index e6dca472b9e5..71edc573bbeb 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: docshell.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: rt $ $Date: 2006-05-04 14:59:00 $
+ * last change: $Author: ihi $ $Date: 2006-08-22 14:00:08 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -210,6 +210,11 @@ void DrawDocShell::Construct()
SetSlotFilter(); // setzt Filter zurueck
pDoc = new SdDrawDocument(eDocType, this);
+
+ // The document has been created so we can call UpdateRefDevice() to set
+ // the document's ref device.
+ UpdateRefDevice();
+
SetModel( new SdXImpressDocument( this ) );
SetPool( &pDoc->GetItemPool() );
pUndoManager = new sd::UndoManager;