summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-03-15 17:32:26 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-03-16 07:21:08 +0000
commitd2867ac604937abf88c553341fcdd7e7abb7698c (patch)
tree82fe9c210638b3e026d930557bfac67c60f59d42 /xmloff
parentc379f1b978c3ad4578c130675c1e0a82c70823c0 (diff)
XmlTestTools: factor out common code
Change-Id: Ie212c86c6c0ac20878be88d88ade5eb1c989942d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148935 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/qa/unit/draw.cxx6
-rw-r--r--xmloff/qa/unit/style.cxx6
-rw-r--r--xmloff/qa/unit/text.cxx6
3 files changed, 0 insertions, 18 deletions
diff --git a/xmloff/qa/unit/draw.cxx b/xmloff/qa/unit/draw.cxx
index c4671d95859b..74a62edbd35f 100644
--- a/xmloff/qa/unit/draw.cxx
+++ b/xmloff/qa/unit/draw.cxx
@@ -39,7 +39,6 @@ class XmloffDrawTest : public UnoApiXmlTest
{
public:
XmloffDrawTest();
- void registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) override;
uno::Reference<drawing::XShape> getShape(sal_uInt8 nShapeIndex);
uno::Reference<beans::XPropertySet>
@@ -75,11 +74,6 @@ XmloffDrawTest::XmloffDrawTest()
{
}
-void XmloffDrawTest::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
-{
- XmlTestTools::registerODFNamespaces(pXmlXpathCtx);
-}
-
uno::Reference<drawing::XShape> XmloffDrawTest::getShape(sal_uInt8 nShapeIndex)
{
uno::Reference<drawing::XDrawPagesSupplier> xDrawPagesSupplier(mxComponent,
diff --git a/xmloff/qa/unit/style.cxx b/xmloff/qa/unit/style.cxx
index 91879e66a818..88e7177f3b91 100644
--- a/xmloff/qa/unit/style.cxx
+++ b/xmloff/qa/unit/style.cxx
@@ -25,7 +25,6 @@ class XmloffStyleTest : public UnoApiXmlTest
{
public:
XmloffStyleTest();
- void registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) override;
};
XmloffStyleTest::XmloffStyleTest()
@@ -33,11 +32,6 @@ XmloffStyleTest::XmloffStyleTest()
{
}
-void XmloffStyleTest::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
-{
- XmlTestTools::registerODFNamespaces(pXmlXpathCtx);
-}
-
CPPUNIT_TEST_FIXTURE(XmloffStyleTest, testFillImageBase64)
{
// Load a flat ODG that has base64-encoded bitmap as a fill style.
diff --git a/xmloff/qa/unit/text.cxx b/xmloff/qa/unit/text.cxx
index 3b47ce11a397..7fe762580ac1 100644
--- a/xmloff/qa/unit/text.cxx
+++ b/xmloff/qa/unit/text.cxx
@@ -32,7 +32,6 @@ class XmloffStyleTest : public UnoApiXmlTest
{
public:
XmloffStyleTest();
- void registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) override;
};
XmloffStyleTest::XmloffStyleTest()
@@ -40,11 +39,6 @@ XmloffStyleTest::XmloffStyleTest()
{
}
-void XmloffStyleTest::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
-{
- XmlTestTools::registerODFNamespaces(pXmlXpathCtx);
-}
-
CPPUNIT_TEST_FIXTURE(XmloffStyleTest, testMailMergeInEditeng)
{
// Without the accompanying fix in place, this test would have failed, as unexpected