diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-12 15:19:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-13 14:00:06 +0200 |
commit | d01f8813084b245492c83cf750bb59bcd2659621 (patch) | |
tree | 74c80bb4938935754e98c253c38e994388d83d09 /include/xmloff/namespacemap.hxx | |
parent | e709ebe42ad06974b822366e4eea1a6c2ee61e10 (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.hxx | 2 |
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 ); |