summaryrefslogtreecommitdiff
path: root/include/xmloff/namespacemap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-12 15:19:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-13 14:00:06 +0200
commitd01f8813084b245492c83cf750bb59bcd2659621 (patch)
tree74c80bb4938935754e98c253c38e994388d83d09 /include/xmloff/namespacemap.hxx
parente709ebe42ad06974b822366e4eea1a6c2ee61e10 (diff)
tdf#121740 cheaper to clear namespacemap rather than allocating
a new one Change-Id: I413de3a61744400f5582f7e090c161ea21bf0b0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134267 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/namespacemap.hxx')
-rw-r--r--include/xmloff/namespacemap.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xmloff/namespacemap.hxx b/include/xmloff/namespacemap.hxx
index c9f4e71fd876..361ddfb7311d 100644
--- a/include/xmloff/namespacemap.hxx
+++ b/include/xmloff/namespacemap.hxx
@@ -122,6 +122,8 @@ public:
This might be replaced by a better interface later. */
const NameSpaceHash& GetAllEntries() const { return aNameHash; }
+ void Clear();
+
static bool NormalizeOasisURN( OUString& rName );
static bool NormalizeW3URI( OUString& rName );
static bool NormalizeURI( OUString& rName );