diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-25 14:29:54 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-25 14:29:54 +0100 |
commit | 1e401142c35cd2bf31626c77e97c9d42531b643e (patch) | |
tree | c6605ed7c15387cca5a2c695434949202164d68f /svl/source/undo | |
parent | 52e3b9ebbc632d7d1f37f0c1f2fe9646c4818c59 (diff) |
undoapi: fix Reset
Diffstat (limited to 'svl/source/undo')
-rw-r--r-- | svl/source/undo/undo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 6b975e62c300..715dce04225c 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -515,8 +515,8 @@ void SfxUndoManager::Reset() UndoManagerGuard aGuard( *m_pData ); // clear all locks - while ( ImplIsUndoEnabled_Lock() ) - ImplEnableUndo_Lock( false ); + while ( !ImplIsUndoEnabled_Lock() ) + ImplEnableUndo_Lock( true ); // cancel all list actions while ( IsInListAction() ) |