diff options
author | Thomas Lange <tl@openoffice.org> | 2002-10-16 07:55:09 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-10-16 07:55:09 +0000 |
commit | 304d3856c138fb54ff536f41be3eff26ab4d6315 (patch) | |
tree | 4de1c638a4902aa760e29509576dc17a80423342 /sw/source/core/doc/docnew.cxx | |
parent | c96ae634d8df0fcdf99ec7407187d8e912cf7368 (diff) |
#103124# possible unremoved SwFmt object fixed
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 13e5b07a7a73..ff09de63436b 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.23 $ + * $Revision: 1.24 $ * - * last change: $Author: mib $ $Date: 2002-07-15 12:35:07 $ + * last change: $Author: tl $ $Date: 2002-10-16 08:55:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,6 +77,7 @@ #include <comphelper/processfactory.hxx> #endif +#include <paratr.hxx> #ifndef _RTL_LOGFILE_HXX_ #include <rtl/logfile.hxx> #endif @@ -456,6 +457,13 @@ SwDoc::SwDoc() : SwDoc::~SwDoc() { + //!! needs to be done to destroy a possible SwFmtDrop format that may + //!! be connected to a char format which may not otherwise be removed + //!! and thus would leave a unremoved SwFmt object. (TL) + //!! (this is case is not possible via UI but via API...) + SwFmtDrop aDrop; + SetDefault(aDrop); + aIdleTimer.Stop(); // den Idltimer abschalten delete pUnoCallBack, pUnoCallBack = 0; |