summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-05-17 14:54:20 +0900
committerMiklos Vajna <vmiklos@collabora.com>2023-08-24 11:29:15 +0200
commit469c071fe4adb6e21d28a8930753c21dff7a5197 (patch)
tree2e1920ca37fdf6aec21d65888d32404a0a5ab235 /test
parentdf2ec10e3aec70fb3ec69cf294481440824fd6bc (diff)
sc: theme color export for cell fill color + test
Change-Id: Ibaad410f094f86d9f7197090db702ae45340c239 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151859 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 25aa310b923ac26b62a97c0e95549e053d294da4) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155550 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/xmltesttools.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx
index 7cf4bb53c6d9..db743e5688aa 100644
--- a/test/source/xmltesttools.cxx
+++ b/test/source/xmltesttools.cxx
@@ -76,8 +76,14 @@ xmlXPathObjectPtr XmlTestTools::getXPathNode(const xmlDocUniquePtr& pXmlDoc, con
return pXmlXpathObj;
}
-void XmlTestTools::registerNamespaces(xmlXPathContextPtr& /*pXmlXpathCtx*/)
+void XmlTestTools::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
{
+ // ooxml
+ XmlTestTools::registerOOXMLNamespaces(pXmlXpathCtx);
+ // odf
+ XmlTestTools::registerODFNamespaces(pXmlXpathCtx);
+ // reqif-xhtml
+ xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("reqif-xhtml"), BAD_CAST("http://www.w3.org/1999/xhtml"));
}
OUString XmlTestTools::getXPath(const xmlDocUniquePtr& pXmlDoc, const OString& rXPath, const OString& rAttribute)