summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-12 13:02:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-24 07:26:23 +0100
commite5f436bc53e0d07654901ef7cc8ff56d04f0686e (patch)
tree9a34198e0dbd1e24b7ae6ff1f50963fd7aea1189 /include/xmloff
parent964c70e7e1b193432f6677d0fab589d47313d9c5 (diff)
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>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlictxt.hxx4
1 files changed, 4 insertions, 0 deletions
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: