[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Fri Jun 13 01:24:50 PDT 2014


 sw/source/core/undo/rolbck.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 060fc66193ea2d8fad9f4ad3dfa6d55f5c9b9339
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 13 10:24:14 2014 +0200

    Fix
    
    Change-Id: I6a759eb3c5bff4dcf4603d648053e17a6d4ff837

diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index cafee25..5d6b988 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -976,10 +976,10 @@ SwHistory::SwHistory( sal_uInt16 nInitSz )
 
 SwHistory::~SwHistory()
 {
+    Delete( 0 );
     std::vector<SwHistoryHint*>::const_iterator it;
     for(it = m_SwpHstry.begin(); it != m_SwpHstry.end(); ++it)
         delete *it;
-    Delete( 0 );
 }
 
 void SwHistory::Add( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValue,


More information about the Libreoffice-commits mailing list