summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 19:06:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 21:42:04 +0200
commitd21e8a437725304a284c749fb4a3a67fa358b891 (patch)
tree8cb83755f1d82f72728df6daadc529f944a70fa4 /xmloff/source/draw/shapeexport.cxx
parent1c64ecadaa7f391cf89d6f57aa798ef614b765a2 (diff)
loplugin:unusedvariableplus in xmloff
Change-Id: I4acc297acb4327249a452a0318964b75e02d38de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91766 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 41f9595f9716..370bfcf3e44f 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3307,7 +3307,7 @@ void XMLShapeExport::ImpExportMediaShape(
mrExport.AddAttribute( XML_NAMESPACE_DRAW, XML_MIME_TYPE, sMimeType );
// write plugin
- auto pPluginOBJ = std::make_unique<SvXMLElementExport>(mrExport, XML_NAMESPACE_DRAW, XML_PLUGIN, !( nFeatures & XMLShapeExportFlags::NO_WS ), true);
+ SvXMLElementExport aPluginOBJ(mrExport, XML_NAMESPACE_DRAW, XML_PLUGIN, !( nFeatures & XMLShapeExportFlags::NO_WS ), true);
// export parameters
const OUString aFalseStr( "false" ), aTrueStr( "true" );