summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-02-21 20:30:51 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-02-25 13:14:43 +0100
commit9932cbe1a515420acad07411606be425d31584aa (patch)
tree1d6fdfe5cbc0dafcb2c81ca80836168594304a44 /oox/source
parentcfc2715f1500d98671834254f2d8c4de19ff8507 (diff)
When exporting a shape, use "Graphic" property from images
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 <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/export/shapes.cxx2
1 files changed, 1 insertions, 1 deletions
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<beans::XPropertySet> xPropertySet(xShape, UNO_QUERY);
- WriteBlipOrNormalFill(xPropertySet, "GraphicURL");
+ WriteBlipOrNormalFill(xPropertySet, "Graphic");
WriteOutline(xPropertySet);
pFS->endElementNS( mnXmlNamespace, XML_spPr );