incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1389676 - /incubator/ooo/trunk/main/sc/source/ui/docshell/docsh.cxx
Date Tue, 25 Sep 2012 01:28:30 GMT
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();



Mime
View raw message