incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1381583 - /incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx
Date Thu, 06 Sep 2012 12:41:07 GMT
Author: alg
Date: Thu Sep  6 12:41:07 2012
New Revision: 1381583

URL: http://svn.apache.org/viewvc?rev=1381583&view=rev
Log:
#120650# truncate mis-sized bullet sizes to useful values
Patch by: Tang Meng
Review by: alg

Modified:
    incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx

Modified: incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx?rev=1381583&r1=1381582&r2=1381583&view=diff
==============================================================================
--- incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx (original)
+++ incubator/ooo/trunk/main/editeng/source/uno/unonrule.cxx Thu Sep  6 12:41:07 2012
@@ -452,6 +452,12 @@ void SvxUnoNumberingRules::setNumberingR
 			sal_Int16 nSize = sal_Int16();
 			if( aVal >>= nSize )
 			{
+                // [Bug 120650] the slide content corrupt when open in Aoo
+                if ((nSize>250)||(nSize<=0))
+                {
+                    nSize = 100;
+                }
+
 				aFmt.SetBulletRelSize( (short)nSize );
 				continue;
 			}



Mime
View raw message