diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 7802985e6e1e..5cccb085d65f 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -871,6 +871,7 @@ bool SfxUndoManager::Repeat( SfxRepeatTarget &rTarget ) aGuard.clear(); if ( pAction->CanRepeat( rTarget ) ) pAction->Repeat( rTarget ); + aGuard.reset(); // allow clearing in guard dtor return true; }