summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-18 17:29:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-18 17:29:20 +0100
commit14af38f429f84a75a9dae60d74d41c57efd709f6 (patch)
treeae9bf4a7b7778e740c480e3de31b4afdc3cfa859 /sd/qa
parent0da4cdeac46117c6b6a4e38b037524a8772325f6 (diff)
Missing XComponent.dispose calls in screenshot tests
Change-Id: I5df25a16303719593d40f08d1e7c15e4636a2d02
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/dialogs-test.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 37104a4ba1dd..66a4fd63e6ee 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -101,6 +101,8 @@ public:
virtual void setUp() override;
+ void tearDown() override;
+
// try to open a dialog
void openAnyDialog();
@@ -138,6 +140,11 @@ void SdDialogsTest::setUp()
CPPUNIT_ASSERT(mpImpressDocument);
}
+void SdDialogsTest::tearDown()
+{
+ mxComponent->dispose();
+ ScreenshotTest::tearDown();
+}
SdAbstractDialogFactory* SdDialogsTest::getSdAbstractDialogFactory()
{