summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPavel Janík <paveljanik@apache.org>2012-09-14 11:39:24 +0000
committerPavel Janík <paveljanik@apache.org>2012-09-14 11:39:24 +0000
commit86918fa571a9d40911a6ce500376466bd56c8a93 (patch)
tree05516b20138f052f9e75d4652e1f8f72e2851116 /sw
parentc0a58cf8ccfb4d37b7bd8e008b0f5f0d617bceb3 (diff)
Move initialization of meDocType to prevent WaE issue.
Notes
Notes: ignore: fixed
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docnew.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index e4f223d4e3a8..e255cc5351d0 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -288,7 +288,6 @@ SwDoc::SwDoc()
mIdleBlockCount(0),
nLockExpFld( 0 ),
mbReadlineChecked(false),
- meDocType( DOCTYPE_NATIVE ),
// --> OD 2005-02-11 #i38810#
mbLinksUpdated( sal_False ),
mbClipBoard( false ),
@@ -300,7 +299,8 @@ SwDoc::SwDoc()
n32DummyCompatabilityOptions1(0),
n32DummyCompatabilityOptions2(0),
mbStartIdleTimer(sal_False),
- mbSetDrawDefaults(false)
+ mbSetDrawDefaults(false),
+ meDocType( DOCTYPE_NATIVE )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDoc::SwDoc" );