diff options
author | Aurimas Fišeras <aurimas@members.fsf.org> | 2019-03-02 14:00:03 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-03-05 13:23:35 +0100 |
commit | cd815d75fd039e59eb9f5e2bf0509d46bc1143fd (patch) | |
tree | 86b94c1db5c80920135291ff08e963f7ea6916d7 | |
parent | f8d98bcf37c790e4f02cbe19016b7f29f53e07ff (diff) |
Add missing DoClose
Change-Id: Ie315d490da6d8c1f62edc54d662e169fa827f610
Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org>
Reviewed-on: https://gerrit.libreoffice.org/68618
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 7e7df9c35c4b..d5f291b05116 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -1678,7 +1678,7 @@ void ScFiltersTest::testControlImport() void ScFiltersTest::testActiveXOptionButtonGroup() { ScDocShellRef xDocSh = loadDoc("tdf111980_radioButtons.", FORMAT_XLSX); - CPPUNIT_ASSERT_MESSAGE("Failed to load singlecontrol.xlsx", xDocSh.is()); + CPPUNIT_ASSERT_MESSAGE("Failed to load tdf111980_radioButtons.xlsx", xDocSh.is()); uno::Reference< frame::XModel > xModel = xDocSh->GetModel(); uno::Reference< sheet::XSpreadsheetDocument > xDoc(xModel, UNO_QUERY_THROW); uno::Reference< container::XIndexAccess > xIA(xDoc->getSheets(), UNO_QUERY_THROW); @@ -1746,6 +1746,8 @@ void ScFiltersTest::testActiveXOptionButtonGroup() xPropertySet.set(xControlShape->getControl(), uno::UNO_QUERY_THROW); xPropertySet->getPropertyValue("GroupName") >>= sGroupName10; CPPUNIT_ASSERT_EQUAL( sGroupName, sGroupName10 ); + + xDocSh->DoClose(); } void ScFiltersTest::testChartImportODS() @@ -2853,6 +2855,8 @@ void ScFiltersTest::testTdf121040() { CPPUNIT_ASSERT_EQUAL(nHeight, rDoc.GetRowHeight(nRow, nTab, false)); } + + xDocSh->DoClose(); } void ScFiltersTest::testPrintRangeODS() |