incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1371717 - /incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx
Date Fri, 10 Aug 2012 14:33:02 GMT
Author: alg
Date: Fri Aug 10 14:33:02 2012
New Revision: 1371717

URL: http://svn.apache.org/viewvc?rev=1371717&view=rev
Log:
#120515# do not create undo action when in Init()

Modified:
    incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx

Modified: incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx?rev=1371717&r1=1371716&r2=1371717&view=diff
==============================================================================
--- incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx (original)
+++ incubator/ooo/trunk/main/editeng/source/outliner/outliner.cxx Fri Aug 10 14:33:02 2012
@@ -256,9 +256,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 )



Mime
View raw message