summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 11:17:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-27 14:50:11 +0200
commit4b995afda324fb4e85991c723b63a2703f33669e (patch)
treee39254286f88067ecedab49381cf6fc1700ab7ee /svl/source
parent1c53f4c0774c3696af9d927651ec625c36567555 (diff)
loplugin:virtualdead in svl
Change-Id: Idbb5d0a633f12d5813561a2ad8aed46ec6d67c48 Reviewed-on: https://gerrit.libreoffice.org/79639 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/undo/undo.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index e3c78895a8fe..5d84ae1e0378 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -345,14 +345,6 @@ SfxUndoManager::SfxUndoManager( size_t nMaxUndoActionCount )
SfxUndoManager::~SfxUndoManager()
{
- UndoListeners aListenersCopy;
- {
- UndoManagerGuard aGuard( *m_xData );
- aListenersCopy = m_xData->aListeners;
- }
-
- ::std::for_each( aListenersCopy.begin(), aListenersCopy.end(),
- NotifyUndoListener( &SfxUndoListener::undoManagerDying ) );
}