summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 10:24:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 10:24:14 +0200
commit060fc66193ea2d8fad9f4ad3dfa6d55f5c9b9339 (patch)
treeface1b839af1bd8b338c829b1319d176da154fd4 /sw
parentfdo#77979: Make rtl_TextEncodingToWinCharsetRTF work for non-Unicode (diff)
downloadcore-060fc66193ea2d8fad9f4ad3dfa6d55f5c9b9339.tar.gz
core-060fc66193ea2d8fad9f4ad3dfa6d55f5c9b9339.zip
Fix
Change-Id: I6a759eb3c5bff4dcf4603d648053e17a6d4ff837
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/undo/rolbck.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index cafee2580a26..5d6b98881b5e 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,