diff options
Diffstat (limited to 'sw/source/core/undo/unmove.cxx')
-rw-r--r-- | sw/source/core/undo/unmove.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx index c66c8a34f6fd..5d6f7c664908 100644 --- a/sw/source/core/undo/unmove.cxx +++ b/sw/source/core/undo/unmove.cxx @@ -341,7 +341,10 @@ void SwUndoMove::DelFootnote( const SwPaM& rRange ) nsDelContentType::DELCNT_FTN ); if( pHistory && !pHistory->Count() ) - delete pHistory, pHistory = nullptr; + { + delete pHistory; + pHistory = nullptr; + } } } |