Kaydet (Commit) 75326909 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Related: #i120515# do not create undo action when in Init()

(cherry picked from commit 1c02bb1b)

Change-Id: I57cbc1a19f18d71a27fb87086375b22755443675
üst d7b7c9fd
...@@ -230,9 +230,10 @@ void Outliner::Init( sal_uInt16 nMode ) ...@@ -230,9 +230,10 @@ void Outliner::Init( sal_uInt16 nMode )
pEditEngine->SetControlWord( nCtrl ); pEditEngine->SetControlWord( nCtrl );
EnableUndo(false);
ImplInitDepth( 0, GetMinDepth(), sal_False ); ImplInitDepth( 0, GetMinDepth(), sal_False );
GetUndoManager().Clear(); GetUndoManager().Clear();
EnableUndo(true);
} }
void Outliner::SetMaxDepth( sal_Int16 nDepth, sal_Bool bCheckParagraphs ) void Outliner::SetMaxDepth( sal_Int16 nDepth, sal_Bool bCheckParagraphs )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment