From e5f436bc53e0d07654901ef7cc8ff56d04f0686e Mon Sep 17 00:00:00 2001 From: Noel <noel.grandin@collabora.co.uk> Date: Fri, 12 Feb 2021 13:02:25 +0200 Subject: restore namespace unwinding in SvXMLImport accidentally lost during the fastparser conversion Change-Id: I7d53e9f32dd8cff650b9ffb6dae493419ce8461f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110813 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> --- include/xmloff/xmlictxt.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/xmloff') diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx index 1fee33fce666..7216105fcd1f 100644 --- a/include/xmloff/xmlictxt.hxx +++ b/include/xmloff/xmlictxt.hxx @@ -50,6 +50,10 @@ class XMLOFF_DLLPUBLIC SvXMLImportContext : public css::xml::sax::XFastContextHa SvXMLImport& mrImport; oslInterlockedCount m_nRefCount; + std::unique_ptr<SvXMLNamespaceMap> m_pRewindMap; + + SAL_DLLPRIVATE std::unique_ptr<SvXMLNamespaceMap> TakeRewindMap() { return std::move(m_pRewindMap); } + SAL_DLLPRIVATE void PutRewindMap(std::unique_ptr<SvXMLNamespaceMap> p) { m_pRewindMap = std::move(p); } protected: -- cgit