#i119888# Fixed import of gradient colored shapes from PPT.

Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
This commit is contained in:
Andre Fischer 2012-07-09 11:04:52 +00:00 committed by Xisco Fauli
parent 43411c5232
commit cf4260b852

View file

@ -2664,7 +2664,7 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj
}
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 );