diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/undo/undo.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index e93f4adf5e39..fd51d9048479 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -600,6 +600,10 @@ bool SfxUndoManager::ImplAddUndoAction_NoNotify( SfxUndoAction *pAction, bool bT { --m_pData->pActUndoArray->nCurUndoAction; } + else + { + OSL_ENSURE(false, "CurrentUndoAction going negative (!)"); + } // fdo#66071 invalidate the current empty mark when removing --m_pData->mnEmptyMark; } |