summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh2.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 11:59:52 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 11:59:52 +0000
commit7982d76ccb511c746fab3a6e32897a858af90f9d (patch)
treebaa4d22434aa3ab66f818650a899f5889a822c13 /sc/source/ui/docshell/docsh2.cxx
parent948d1867dd2e343ab083bf978065526b94a00032 (diff)
INTEGRATION: CWS autokerning (1.19.70); FILE MERGED
2006/10/06 09:59:48 nn 1.19.70.1: #i16874# enable pair kerning as drawing layer default in new documents
Diffstat (limited to 'sc/source/ui/docshell/docsh2.cxx')
-rw-r--r--sc/source/ui/docshell/docsh2.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index ad63fd4994e6..64649c732a32 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: docsh2.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: vg $ $Date: 2006-11-22 10:45:32 $
+ * last change: $Author: ihi $ $Date: 2006-12-19 12:59:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -98,6 +98,8 @@ BOOL __EXPORT ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xSt
SetVisAreaOrSize( Rectangle( Point(), aSize ), TRUE );
}
+ aDocument.SetDrawDefaults(); // drawing layer defaults that are set only in InitNew
+
// InitOptions sets the document languages, must be called before CreateStandardStyles
InitOptions();