incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1384745 - /incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx
Date Fri, 14 Sep 2012 12:39:24 GMT
Author: paveljanik
Date: Fri Sep 14 12:39:24 2012
New Revision: 1384745

URL: http://svn.apache.org/viewvc?rev=1384745&view=rev
Log:
Move initialization of meDocType to prevent WaE issue.

Modified:
    incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx

Modified: incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx?rev=1384745&r1=1384744&r2=1384745&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/core/doc/docnew.cxx Fri Sep 14 12:39:24 2012
@@ -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" );
 



Mime
View raw message