diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-08-20 07:11:38 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-08-20 07:11:38 +0000 |
commit | 7c436460590c144ac6413ab0508b7227c8ddfce6 (patch) | |
tree | f6555b30b824ed1000038615b3e3c64f323875ea /sc/source/ui/docshell | |
parent | d3ffcfce50f341d36743bfdcbea5104a8818b1cf (diff) |
#90292# InitNew: call InitOptions before CreateStandardStyles
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 477e8dfd518b..acd7baf3065f 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docsh2.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: sab $ $Date: 2001-08-01 07:32:36 $ + * last change: $Author: nn $ $Date: 2001-08-20 08:11:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -126,9 +126,11 @@ BOOL __EXPORT ScDocShell::InitNew( SvStorage * pStor ) SetVisAreaOrSize( Rectangle( Point(), aSize ), TRUE ); } + // InitOptions sets the document languages, must be called before CreateStandardStyles + InitOptions(); + aDocument.GetStyleSheetPool()->CreateStandardStyles(); aDocument.UpdStlShtPtrsFrmNms(); - InitOptions(); // CLOOK // SetDocumentModified ist in Load/InitNew nicht mehr erlaubt! |