diff options
-rw-r--r-- | oox/source/export/shapes.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index cdbe0d68f468..37faad5453f9 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -934,7 +934,9 @@ ShapeExport& ShapeExport::WriteTextShape( Reference< XShape > xShape ) pFS->startElementNS( mnXmlNamespace, XML_spPr, FSEND ); WriteShapeTransformation( xShape, XML_a,0,0,false); WritePresetShape( "rect" ); - WriteBlipFill( Reference< XPropertySet >(xShape, UNO_QUERY ), "GraphicURL" ); + uno::Reference<beans::XPropertySet> xPropertySet(xShape, UNO_QUERY); + WriteFill(xPropertySet); + WriteBlipFill(xPropertySet, "GraphicURL"); pFS->endElementNS( mnXmlNamespace, XML_spPr ); WriteTextBox( xShape, mnXmlNamespace ); |