summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sccondformats.cxx
diff options
context:
space:
mode:
authorAleksas Pantechovskis <alex.pantec@gmail.com>2016-03-06 16:47:31 +0200
committerMichael Stahl <mstahl@redhat.com>2016-03-07 12:17:08 +0000
commit14c14094e8587d28eb9cd2a3b5c0c57b355635b5 (patch)
treea4a962194421c522b4e0a293aaf18864a7b03026 /sc/qa/extras/sccondformats.cxx
parent48c887fc7a9adfe390512c807c99b08b5f5b41f3 (diff)
tdf#65219 Fix temp files clean up in sc unit tests
Change-Id: I23bf5d47c2cce31d6dd076eeac58cb2ce47b248a Reviewed-on: https://gerrit.libreoffice.org/22953 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/qa/extras/sccondformats.cxx')
-rw-r--r--sc/qa/extras/sccondformats.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx
index 02ebd5146b4e..0ac865b4c762 100644
--- a/sc/qa/extras/sccondformats.cxx
+++ b/sc/qa/extras/sccondformats.cxx
@@ -218,6 +218,8 @@ void ScConditionalFormatTest::testUndoAnchor()
CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), newType == ScDrawLayer::GetAnchorType(*pObject) );
CPPUNIT_ASSERT_EQUAL_MESSAGE( sFailedMessage.getStr(), GRAPHIC_BITMAP, rGraphicObj.GetGraphic().GetType());
CPPUNIT_ASSERT_EQUAL_MESSAGE( sFailedMessage.getStr(), sal_uLong(864900), rGraphicObj.GetSizeBytes());
+
+ xComponent->dispose();
}
void ScConditionalFormatTest::setUp()