summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/untblk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/untblk.cxx')
-rw-r--r--sw/source/core/undo/untblk.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx
index 81f21533f6bf..762e3d6e6eef 100644
--- a/sw/source/core/undo/untblk.cxx
+++ b/sw/source/core/undo/untblk.cxx
@@ -126,7 +126,8 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, bool bScanFlys,
pFrameFormats->erase( it );
}
}
- delete pFrameFormats, pFrameFormats = nullptr;
+ delete pFrameFormats;
+ pFrameFormats = nullptr;
}
}