diff options
author | Armin Le Grand <alg@apache.org> | 2012-08-10 13:33:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-28 15:55:24 +0100 |
commit | 75326909e5ec58f1ff030af8b35d70dafd036bba (patch) | |
tree | eccbc79b347a8346731272ae54ee744b896b5260 /editeng | |
parent | d7b7c9fdfe63deec26c420efc3ff1fd73c21bb27 (diff) |
Related: #i120515# do not create undo action when in Init()
(cherry picked from commit 1c02bb1bd719e7e0a47fdcc7463f8c9cd5bbb101)
Change-Id: I57cbc1a19f18d71a27fb87086375b22755443675
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index c5fe66c913b5..6e74e283d72a 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -230,9 +230,10 @@ void Outliner::Init( sal_uInt16 nMode ) pEditEngine->SetControlWord( nCtrl ); + EnableUndo(false); ImplInitDepth( 0, GetMinDepth(), sal_False ); - GetUndoManager().Clear(); + EnableUndo(true); } void Outliner::SetMaxDepth( sal_Int16 nDepth, sal_Bool bCheckParagraphs ) |