diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-03-25 20:59:50 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-03-26 09:07:59 +0100 |
commit | 1fcc08d5dccaf8280fa7709df6eb310b8f502fb2 (patch) | |
tree | 15296961f65194704890c1b6296a0fec55e77f7b /include/test | |
parent | 18aa2169c9adf41fa5c9a02ad81d4f68a34509e3 (diff) |
Extract copy&pasted namespace list to XmlTestTools::registerODFNamespaces()
Both sw/ and xmloff/ can depend on test/, so no need to duplicate this.
Change-Id: I93bfdb4422bdef9f8d28bc37548130fae49829e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113107
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/test')
-rw-r--r-- | include/test/xmltesttools.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/test/xmltesttools.hxx b/include/test/xmltesttools.hxx index f6bd17f0ae30..b56bb12db5d2 100644 --- a/include/test/xmltesttools.hxx +++ b/include/test/xmltesttools.hxx @@ -97,6 +97,7 @@ protected: */ void assertXPathNoAttribute(const xmlDocUniquePtr& pXmlDoc, const OString& rXPath, const OString& rAttribute); + static void registerODFNamespaces(xmlXPathContextPtr& pXmlXpathCtx); }; #endif |