[Libreoffice-commits] core.git: sc/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 5 12:23:58 UTC 2019


 sc/qa/unit/subsequent_filters-test.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit cd815d75fd039e59eb9f5e2bf0509d46bc1143fd
Author:     Aurimas Fišeras <aurimas at members.fsf.org>
AuthorDate: Sat Mar 2 14:00:03 2019 +0200
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Tue Mar 5 13:23:35 2019 +0100

    Add missing DoClose
    
    Change-Id: Ie315d490da6d8c1f62edc54d662e169fa827f610
    Signed-off-by: Aurimas Fišeras <aurimas at members.fsf.org>
    Reviewed-on: https://gerrit.libreoffice.org/68618
    Tested-by: Jenkins
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

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()


More information about the Libreoffice-commits mailing list