summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-02 16:10:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-02 18:50:59 +0200
commit5c8920486ae894e25814a456f12b0f76a4cb6085 (patch)
tree1114ed36bd4aa27e1ee3239d4538310f6075eaa2 /xmloff/source
parente45c7a69c6f2f19dce0923ba50c34256fec91a86 (diff)
remove dead stores
Change-Id: I6475d7c66f846c1f769e67a583af49c4240ec8cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/core/xmlimp.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index cf8b32c054e2..2505e2478d30 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -940,8 +940,6 @@ void SAL_CALL SvXMLImport::endFastElement (sal_Int32 Element)
xContext->endFastElement( Element );
if (isFastContext)
maContexts.pop();
-
- xContext = nullptr;
}
}
@@ -952,7 +950,6 @@ void SAL_CALL SvXMLImport::endUnknownElement (const OUString & rPrefix, const OU
uno::Reference<XFastContextHandler> xContext = std::move(maFastContexts.top());
maFastContexts.pop();
xContext->endUnknownElement( rPrefix, rLocalName );
- xContext = nullptr;
}
}