From 9932cbe1a515420acad07411606be425d31584aa Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 21 Feb 2018 20:30:51 +0900 Subject: When exporting a shape, use "Graphic" property from images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We still used "GraphicURL" when exporting a shape, but as it is being replaced, change that to use "Graphic" property instead. Change-Id: Ia2b6bdacf0e28de6cfe2eaa36e5b558250ebee8e Reviewed-on: https://gerrit.libreoffice.org/50142 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- oox/source/export/shapes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox/source') diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 8f374c0d54d1..b9a19bf506b4 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -1864,7 +1864,7 @@ ShapeExport& ShapeExport::WriteTextShape( const Reference< XShape >& xShape ) WriteShapeTransformation( xShape, XML_a ); WritePresetShape( "rect" ); uno::Reference xPropertySet(xShape, UNO_QUERY); - WriteBlipOrNormalFill(xPropertySet, "GraphicURL"); + WriteBlipOrNormalFill(xPropertySet, "Graphic"); WriteOutline(xPropertySet); pFS->endElementNS( mnXmlNamespace, XML_spPr ); -- cgit