diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-27 09:20:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-27 09:52:09 +0100 |
commit | b83b4f967f8cbee208e44600821aa1a5518e34ac (patch) | |
tree | 4fcaec5dd2b13c8b95c0ea5231b5f17f0f3954c8 /sc/qa/unit/scshapetest.cxx | |
parent | 34585f09cf2b14eb3ef9c238e9b4050efb7028d9 (diff) |
loplugin:unusedfields
Change-Id: I0d3941ed2a6f0caadbe080ac8a6273c5ec21462c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89616
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/unit/scshapetest.cxx')
-rw-r--r-- | sc/qa/unit/scshapetest.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx index 8e3cbe2c7802..4a9288acddac 100644 --- a/sc/qa/unit/scshapetest.cxx +++ b/sc/qa/unit/scshapetest.cxx @@ -29,8 +29,6 @@ class ScShapeTest : public CalcUnoApiTest public: ScShapeTest(); - virtual void tearDown() override; - void testFitToCellSize(); void testCustomShapeCellAnchoredRotatedShape(); @@ -38,9 +36,6 @@ public: CPPUNIT_TEST(testFitToCellSize); CPPUNIT_TEST(testCustomShapeCellAnchoredRotatedShape); CPPUNIT_TEST_SUITE_END(); - -private: - uno::Reference<lang::XComponent> mxComponent; }; ScShapeTest::ScShapeTest() @@ -171,16 +166,6 @@ void ScShapeTest::testCustomShapeCellAnchoredRotatedShape() pDocSh->DoClose(); } -void ScShapeTest::tearDown() -{ - if (mxComponent.is()) - { - closeDocument(mxComponent); - } - - CalcUnoApiTest::tearDown(); -} - CPPUNIT_TEST_SUITE_REGISTRATION(ScShapeTest); } |