summaryrefslogtreecommitdiff
path: root/sc/qa/extras/macros-test.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-14 00:24:59 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-14 14:42:25 +0200
commit48c0b19205af6e8d0ddee31afa011890e54b46e5 (patch)
tree140cd231a2c62deb7a4fcf0bdc086d175c3b4697 /sc/qa/extras/macros-test.cxx
parent6ca3ac3f3b3007d25c5ea68f67536c5e63fbb4e9 (diff)
sc: inherit from CalcUnoApiTest instead of UnoApiTest
like the rest of tests in sc Change-Id: I15979c6279cf9af6953f661ed8dd2f5a60f1b988 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141349 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/extras/macros-test.cxx')
-rw-r--r--sc/qa/extras/macros-test.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index cad73b5ea95f..7b0d5873976a 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -8,7 +8,7 @@
*/
#include <sal/config.h>
-#include <test/unoapi_test.hxx>
+#include <test/calc_unoapi_test.hxx>
#include <sal/log.hxx>
#include <unotools/tempfile.hxx>
#include <svx/svdpage.hxx>
@@ -35,7 +35,7 @@ using namespace ::com::sun::star::uno;
/* Implementation of Macros test */
-class ScMacrosTest : public UnoApiTest, public XmlTestTools
+class ScMacrosTest : public CalcUnoApiTest, public XmlTestTools
{
protected:
void registerNamespaces(xmlXPathContextPtr& pXmlXPathCtx) override;
@@ -138,7 +138,7 @@ void ScMacrosTest::saveAndReload(const OUString& rFilter)
void ScMacrosTest::tearDown()
{
closeDocument(mxComponent);
- UnoApiTest::tearDown();
+ CalcUnoApiTest::tearDown();
}
// I suppose you could say this test doesn't really belong here, OTOH
@@ -1260,7 +1260,7 @@ void ScMacrosTest::testFunctionAccessIndirect()
}
ScMacrosTest::ScMacrosTest()
- : UnoApiTest("/sc/qa/extras/testdocuments")
+ : CalcUnoApiTest("/sc/qa/extras/testdocuments")
{
}