Kaydet (Commit) 1c02bb1b authored tarafından Armin Le Grand's avatar Armin Le Grand

#120515# do not create undo action when in Init()

üst fb2580f1
...@@ -256,9 +256,10 @@ void Outliner::Init( sal_uInt16 nMode ) ...@@ -256,9 +256,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