summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-17 13:17:13 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-17 15:58:20 +0200
commit9932e200b038bacc6c2a188896074bffa5f973b1 (patch)
tree7dc6d411934376a4b89dfbd85b851e0b7a4f79e1 /sc
parent7106556d9c4525afc9a6663d60b9076aad48f42e (diff)
CppunitTest_sc_datatransformation: inherit from BootstrapFixture
no need to inherit from ScBootstrapFixture, this class doesn't use anything from there Change-Id: Id3cf385c6ff1d94bfe93b855780e70a4d8e8d0a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141453 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/datatransformation_test.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/qa/unit/datatransformation_test.cxx b/sc/qa/unit/datatransformation_test.cxx
index 37fc1a0f3711..9e9f66e4655a 100644
--- a/sc/qa/unit/datatransformation_test.cxx
+++ b/sc/qa/unit/datatransformation_test.cxx
@@ -16,7 +16,7 @@
#include <svl/numformat.hxx>
#include <tools/time.hxx>
-class ScDataTransformationTest : public ScBootstrapFixture
+class ScDataTransformationTest : public test::BootstrapFixture
{
public:
@@ -1001,14 +1001,13 @@ void ScDataTransformationTest::testGetSecond()
}
ScDataTransformationTest::ScDataTransformationTest() :
- ScBootstrapFixture( "sc/qa/unit/data/dataprovider" ),
m_pDoc(nullptr)
{
}
void ScDataTransformationTest::setUp()
{
- ScBootstrapFixture::setUp();
+ BootstrapFixture::setUp();
ScDLL::Init();
m_xDocShell = new ScDocShell(
@@ -1026,7 +1025,7 @@ void ScDataTransformationTest::tearDown()
{
m_xDocShell->DoClose();
m_xDocShell.clear();
- ScBootstrapFixture::tearDown();
+ BootstrapFixture::tearDown();
}
CPPUNIT_TEST_SUITE_REGISTRATION(ScDataTransformationTest);