summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-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 ) );
}