summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-06 08:42:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-06 13:17:49 +0100
commit875944d0cfffb3540234affe2d0b2eba1fcddf90 (patch)
tree30f7d7b2944fc896f496dda1c40263ce88f75221 /xmloff
parentd7bcf59a51a058ba57e685cfc3e000fec623f716 (diff)
loplugin:unusedfields
Change-Id: Ib360179887572ec55245d7892651eaf7113ed3cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105389 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 2f1a1dee4f10..71060b42f648 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -765,8 +765,7 @@ void SAL_CALL SvXMLImport::startFastElement (sal_Int32 Element,
maNamespaceAttrList->Clear();
maNamespaceHandler->addNSDeclAttributes( maNamespaceAttrList );
- std::unique_ptr<SvXMLNamespaceMap> pRewindMap(
- processNSAttributes( maNamespaceAttrList.get() ));
+ processNSAttributes( maNamespaceAttrList.get() );
SvXMLImportContextRef xContext;
const bool bRootContext = maContexts.empty();
@@ -832,9 +831,6 @@ void SAL_CALL SvXMLImport::startFastElement (sal_Int32 Element,
// Call a startElement at the new context.
xContext->startFastElement( Element, Attribs );
- if (pRewindMap)
- xContext->PutRewindMap(std::move(pRewindMap));
-
// Push context on stack.
maContexts.push(xContext);
}