You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by le...@apache.org on 2012/09/25 03:28:30 UTC

svn commit: r1389676 - /incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx

Author: leidb
Date: Tue Sep 25 01:28:29 2012
New Revision: 1389676

URL: http://svn.apache.org/viewvc?rev=1389676&view=rev
Log:
#121001# fix issue which loading the xls file contain drawing, form control, graphic ... will enable the undo action

Reported by: Yan Ji
Patch by: Lei De Bin 
Review by: Li Jian Yuan

Modified:
    incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx

Modified: incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx?rev=1389676&r1=1389675&r2=1389676&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx Tue Sep 25 01:28:29 2012
@@ -1412,6 +1412,7 @@ sal_Bool __EXPORT ScDocShell::ConvertFro
 	}
 	FinishedLoading( SFX_LOADED_MAINDOCUMENT | SFX_LOADED_IMAGES );
 
+	GetUndoManager()->Clear();
 	// #73762# invalidate eventually temporary table areas
 	if ( bRet )
 		aDocument.InvalidateTableArea();