summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docnew.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-10-16 10:18:26 +0000
committerThomas Lange <tl@openoffice.org>2002-10-16 10:18:26 +0000
commitfab98924e01f211c1d1fc5823c0867019b590c60 (patch)
tree681a40726c5102e072677bfca5751c92b78de10f /sw/source/core/doc/docnew.cxx
parent7314039ccb3927217f5784580e14f23b880f9086 (diff)
#103152# possible unremoved SwFmt object fixed
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r--sw/source/core/doc/docnew.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index ff09de63436b..fd62b7e3df29 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docnew.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: tl $ $Date: 2002-10-16 08:55:09 $
+ * last change: $Author: tl $ $Date: 2002-10-16 11:18:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,7 +77,6 @@
#include <comphelper/processfactory.hxx>
#endif
-#include <paratr.hxx>
#ifndef _RTL_LOGFILE_HXX_
#include <rtl/logfile.hxx>
#endif
@@ -106,6 +105,12 @@
#include <svx/svdpage.hxx>
#endif
+#ifndef _PARATR_HXX
+#include <paratr.hxx>
+#endif
+#ifndef _FCHRFMT_HXX
+#include <fchrfmt.hxx>
+#endif
#ifndef _FMTCNTNT_HXX
#include <fmtcntnt.hxx>
#endif
@@ -463,6 +468,9 @@ SwDoc::~SwDoc()
//!! (this is case is not possible via UI but via API...)
SwFmtDrop aDrop;
SetDefault(aDrop);
+ //!! same for SwFmtCharFmt
+ SwFmtCharFmt aCharFmt(NULL);
+ SetDefault(aCharFmt);
aIdleTimer.Stop(); // den Idltimer abschalten