Kaydet (Commit) cd815d75 authored tarafından Aurimas Fišeras's avatar Aurimas Fišeras Kaydeden (comit) Katarina Behrens

Add missing DoClose

Change-Id: Ie315d490da6d8c1f62edc54d662e169fa827f610
Signed-off-by: 's avatarAurimas Fišeras <aurimas@members.fsf.org>
Reviewed-on: https://gerrit.libreoffice.org/68618
Tested-by: Jenkins
Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst f8d98bcf
...@@ -1678,7 +1678,7 @@ void ScFiltersTest::testControlImport() ...@@ -1678,7 +1678,7 @@ void ScFiltersTest::testControlImport()
void ScFiltersTest::testActiveXOptionButtonGroup() void ScFiltersTest::testActiveXOptionButtonGroup()
{ {
ScDocShellRef xDocSh = loadDoc("tdf111980_radioButtons.", FORMAT_XLSX); 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< frame::XModel > xModel = xDocSh->GetModel();
uno::Reference< sheet::XSpreadsheetDocument > xDoc(xModel, UNO_QUERY_THROW); uno::Reference< sheet::XSpreadsheetDocument > xDoc(xModel, UNO_QUERY_THROW);
uno::Reference< container::XIndexAccess > xIA(xDoc->getSheets(), UNO_QUERY_THROW); uno::Reference< container::XIndexAccess > xIA(xDoc->getSheets(), UNO_QUERY_THROW);
...@@ -1746,6 +1746,8 @@ void ScFiltersTest::testActiveXOptionButtonGroup() ...@@ -1746,6 +1746,8 @@ void ScFiltersTest::testActiveXOptionButtonGroup()
xPropertySet.set(xControlShape->getControl(), uno::UNO_QUERY_THROW); xPropertySet.set(xControlShape->getControl(), uno::UNO_QUERY_THROW);
xPropertySet->getPropertyValue("GroupName") >>= sGroupName10; xPropertySet->getPropertyValue("GroupName") >>= sGroupName10;
CPPUNIT_ASSERT_EQUAL( sGroupName, sGroupName10 ); CPPUNIT_ASSERT_EQUAL( sGroupName, sGroupName10 );
xDocSh->DoClose();
} }
void ScFiltersTest::testChartImportODS() void ScFiltersTest::testChartImportODS()
...@@ -2853,6 +2855,8 @@ void ScFiltersTest::testTdf121040() ...@@ -2853,6 +2855,8 @@ void ScFiltersTest::testTdf121040()
{ {
CPPUNIT_ASSERT_EQUAL(nHeight, rDoc.GetRowHeight(nRow, nTab, false)); CPPUNIT_ASSERT_EQUAL(nHeight, rDoc.GetRowHeight(nRow, nTab, false));
} }
xDocSh->DoClose();
} }
void ScFiltersTest::testPrintRangeODS() void ScFiltersTest::testPrintRangeODS()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment