incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1359095 - /incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx
Date Mon, 09 Jul 2012 12:04:52 GMT
Author: af
Date: Mon Jul  9 12:04:52 2012
New Revision: 1359095

URL: http://svn.apache.org/viewvc?rev=1359095&view=rev
Log:
#i119888# Fixed import of gradient colored shapes from PPT.

          Reported by: Li Feng Wang
          Patch by: Jianyuan Li
          Review by: Andre Fischer

Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx?rev=1359095&r1=1359094&r2=1359095&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx Mon Jul  9 12:04:52 2012
@@ -2782,7 +2782,7 @@ void DffPropertyReader::ApplyAttributes(
 	}
 	ApplyLineAttributes( rSet, rObjData.eShapeType ); // #i28269#
 	ApplyFillAttributes( rIn, rSet, rObjData );
-	if ( rObjData.eShapeType != mso_sptNil )
+	if ( rObjData.eShapeType != mso_sptNil || IsProperty( DFF_Prop_pVertices ) )
 	{
 		ApplyCustomShapeGeometryAttributes( rIn, rSet, rObjData );
 		ApplyCustomShapeTextAttributes( rSet );



Mime
View raw message