Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > cd8ce32c919af60229fca1d7f792c60e > files > 15

openoffice.org-3.2.0-12.35.fc13.src.rpm

Index: source/core/doc/docnew.cxx
===================================================================
RCS file: /cvs/sw/sw/source/core/doc/docnew.cxx,v
retrieving revision 1.57
diff -u -p -u -r1.57 docnew.cxx
--- openoffice.org.orig/sw/source/core/doc/docnew.cxx	8 Nov 2005 17:16:18 -0000	1.57
+++ openoffice.org/sw/source/core/doc/docnew.cxx	29 Nov 2005 09:38:58 -0000
@@ -459,6 +459,16 @@
 
 SwDoc::~SwDoc()
 {
+    if( pExtInputRing )
+    {
+            Ring* pTmp = pExtInputRing;
+            pExtInputRing = 0;
+            while( pTmp->GetNext() != pTmp )
+                    delete pTmp->GetNext();
+            delete pTmp;
+    }
+
+
     // --> OD 2007-03-16 #i73788#
     SwPauseThreadStarting aPauseThreadStarting;
     // <--
@@ -547,15 +557,6 @@
     pMarkManager->clearAllMarks();
 	DELETEZ( pMacroTable );
 
-	if( pExtInputRing )
-	{
-		Ring* pTmp = pExtInputRing;
-		pExtInputRing = 0;
-		while( pTmp->GetNext() != pTmp )
-			delete pTmp->GetNext();
-		delete pTmp;
-	}
-
 //JP: alt - loeschen ohne Flag ist teuer; Modify wird verschickt!
 //	aTOXTypes.DeleteAndDestroy( 0, aTOXTypes.Count() );
 	{