sw/qa/extras/odfimport/odfimport.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 373bb35740e0e908acafce743bda3e186f1e36c5
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Jun 11 13:41:24 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Jun 11 17:03:59 2024 +0200

    CppunitTest_sw_odfimport: add assert
    
    Change-Id: I8a9ccb490fdd717538e368f73fefca425f94b405
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168673
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/extras/odfimport/odfimport.cxx 
b/sw/qa/extras/odfimport/odfimport.cxx
index 90e9af34020c..d6bd2827ce74 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -1404,6 +1404,7 @@ CPPUNIT_TEST_FIXTURE(Test, testForcepoint108)
 {
     //load would assert because it fails to load entirely, like 
testMathMalformedXml
     mxComponent = 
mxDesktop->loadComponentFromURL(createFileURL(u"forcepoint108.fodt"), 
u"_default"_ustr, 0, {});
+    CPPUNIT_ASSERT(!mxComponent.is());
 }
 
 #ifdef _WIN32

Reply via email to