incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1350581 - /incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx
Date Fri, 15 Jun 2012 11:33:12 GMT
Author: hdu
Date: Fri Jun 15 11:33:12 2012
New Revision: 1350581

URL: http://svn.apache.org/viewvc?rev=1350581&view=rev
Log:
#c703908# fix SdrUndoGroup::GetComment()

Modified:
    incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx

Modified: incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx?rev=1350581&r1=1350580&r2=1350581&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx (original)
+++ incubator/ooo/trunk/main/svx/source/svdraw/svdundo.cxx Fri Jun 15 11:33:12 2012
@@ -156,7 +156,7 @@ XubString SdrUndoGroup::GetComment() con
 {
 	XubString aRet(aComment);
 	sal_Char aSearchText[] = "%1";
-	String aSearchString(aSearchText, sizeof(aSearchText-1));
+	String aSearchString(aSearchText, sizeof(aSearchText)-1);
 
 	aRet.SearchAndReplace(aSearchString, aObjDescription);
 



Mime
View raw message