summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-07-09 11:04:52 +0000
committerXisco Fauli <anistenis@gmail.com>2013-03-26 00:56:24 +0100
commitcf4260b85213b263f78c51d33557176c813989ef (patch)
treee6780686b2a589cecfb03123a66746164b5d3cc2 /filter
parent43411c5232833c3a23c1a8ed4e1ddc1d10ce424e (diff)
#i119888# Fixed import of gradient colored shapes from PPT.
Reported by: Li Feng Wang Patch by: Jianyuan Li Review by: Andre Fischer
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 86fabbd01b9c..96b69b7ab503 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -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 );