summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/XMLReplacementImageContext.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/XMLReplacementImageContext.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/XMLReplacementImageContext.cxx')
-rw-r--r--xmloff/source/draw/XMLReplacementImageContext.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmloff/source/draw/XMLReplacementImageContext.cxx b/xmloff/source/draw/XMLReplacementImageContext.cxx
index 1f9f077fbddf..31ff35fb697d 100644
--- a/xmloff/source/draw/XMLReplacementImageContext.cxx
+++ b/xmloff/source/draw/XMLReplacementImageContext.cxx
@@ -73,8 +73,6 @@ void XMLReplacementImageContext::EndElement()
{
OSL_ENSURE( !m_sHRef.isEmpty() || m_xBase64Stream.is(),
"neither URL nor base64 image data given" );
- rtl::Reference < XMLTextImportHelper > xTxtImport =
- GetImport().GetTextImport();
uno::Reference<graphic::XGraphic> xGraphic;
try