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

List:       kde-commits
Subject:    koffice/filters/kword/kword1.3/import
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-07-31 19:29:52
Message-ID: 20040731192952.BBC0499E4 () office ! kde ! org
[Download RAW message or body]

CVS commit by goutte: 

Fix crash (Destroying the document at the end of post-parsing is bad.)


  M +0 -2      kword13import.cpp   2.13
  M +0 -1      kword13postparsing.cpp   2.3


--- koffice/filters/kword/kword1.3/import/kword13import.cpp  #2.12:2.13
@@ -211,5 +211,4 @@ KoFilter::ConversionStatus KWord13Import
     }
 
-#if 0
     if ( ! postParse( store, kwordDocument ) )
     {
@@ -217,5 +216,4 @@ KoFilter::ConversionStatus KWord13Import
         return  KoFilter::StupidError;
     }
-#endif
     
     // We have finished with the input store/file, so close the store (already done for a raw XML file)

--- koffice/filters/kword/kword1.3/import/kword13postparsing.cpp  #2.2:2.3
@@ -37,5 +37,4 @@ KWord13PostParsing::KWord13PostParsing(v
 KWord13PostParsing::~KWord13PostParsing(void)
 {
-    delete m_kwordDocument;
 }
 


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

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