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

Caolán McNamara caolanm at redhat.com
Mon Mar 19 16:01:46 UTC 2018


 svx/qa/unit/XTableImportExportTest.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e83dc1b5edee95184a84d2d2ca2675b72d561098
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 19 10:39:36 2018 +0000

    coverity#1430091 Unchecked return value
    
    Change-Id: Id72d3c6714a8c74502247eed9c23c7cf8b5412f4
    Reviewed-on: https://gerrit.libreoffice.org/51543
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/qa/unit/XTableImportExportTest.cxx b/svx/qa/unit/XTableImportExportTest.cxx
index df08fa6190f5..6e136558efd8 100644
--- a/svx/qa/unit/XTableImportExportTest.cxx
+++ b/svx/qa/unit/XTableImportExportTest.cxx
@@ -68,7 +68,8 @@ void XTableImportExportTest::testImportExport()
 
     {
         XBitmapList xBitmapList(aTempURL, "REF");
-        xBitmapList.Load();
+        bool bResult = xBitmapList.Load();
+        CPPUNIT_ASSERT(bResult);
         uno::Reference<container::XNameContainer> xNameContainer(xBitmapList.createInstance());
         CPPUNIT_ASSERT(xNameContainer.is());
 


More information about the Libreoffice-commits mailing list