| 1 |
Index: source/core/doc/docnew.cxx
|
| 2 |
===================================================================
|
| 3 |
RCS file: /cvs/sw/sw/source/core/doc/docnew.cxx,v
|
| 4 |
retrieving revision 1.57
|
| 5 |
diff -u -p -u -r1.57 docnew.cxx
|
| 6 |
--- openoffice.org.orig/sw/source/core/doc/docnew.cxx 8 Nov 2005 17:16:18 -0000 1.57
|
| 7 |
+++ openoffice.org/sw/source/core/doc/docnew.cxx 29 Nov 2005 09:38:58 -0000
|
| 8 |
@@ -459,6 +459,16 @@
|
| 9 |
|
| 10 |
SwDoc::~SwDoc()
|
| 11 |
{
|
| 12 |
+ if( pExtInputRing )
|
| 13 |
+ {
|
| 14 |
+ Ring* pTmp = pExtInputRing;
|
| 15 |
+ pExtInputRing = 0;
|
| 16 |
+ while( pTmp->GetNext() != pTmp )
|
| 17 |
+ delete pTmp->GetNext();
|
| 18 |
+ delete pTmp;
|
| 19 |
+ }
|
| 20 |
+
|
| 21 |
+
|
| 22 |
// --> OD 2007-03-16 #i73788#
|
| 23 |
SwPauseThreadStarting aPauseThreadStarting;
|
| 24 |
// <--
|
| 25 |
@@ -547,15 +557,6 @@
|
| 26 |
pMarkManager->clearAllMarks();
|
| 27 |
DELETEZ( pMacroTable );
|
| 28 |
|
| 29 |
- if( pExtInputRing )
|
| 30 |
- {
|
| 31 |
- Ring* pTmp = pExtInputRing;
|
| 32 |
- pExtInputRing = 0;
|
| 33 |
- while( pTmp->GetNext() != pTmp )
|
| 34 |
- delete pTmp->GetNext();
|
| 35 |
- delete pTmp;
|
| 36 |
- }
|
| 37 |
-
|
| 38 |
//JP: alt - loeschen ohne Flag ist teuer; Modify wird verschickt!
|
| 39 |
// aTOXTypes.DeleteAndDestroy( 0, aTOXTypes.Count() );
|
| 40 |
{
|