diff options
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/dialogs-test.cxx | 7 |
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() { |