[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kword/part
From:       Thomas Zander <zander () kde ! org>
Date:       2009-02-28 23:09:08
Message-ID: 1235862548.064871.1762.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 933451 by zander:

Fixes: Crash when closing document
BUG:185217
Details: Make sure that the magicCurtain shape is deleted first so it can
    savely tell its child shapes its no longer their parent.

 M  +1 -1      KWDocument.cpp  


--- trunk/koffice/kword/part/KWDocument.cpp #933450:933451
@@ -146,12 +146,12 @@
 
 KWDocument::~KWDocument()
 {
+    delete m_magicCurtain;
     saveConfig();
     qDeleteAll(m_frameSets);
     qDeleteAll(m_dataCenterMap);
     delete m_inlineTextObjectManager;
     m_inlineTextObjectManager = 0;
-    delete m_magicCurtain;
 }
 
 void KWDocument::addShape(KoShape *shape)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic