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

Karan Abrol (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 11 15:27:24 UTC 2021


 sc/qa/extras/sccellfieldsobj.cxx          |    1 -
 sc/qa/extras/sccellformatsenumeration.cxx |    1 -
 sc/qa/extras/sccellformatsobj.cxx         |    1 -
 3 files changed, 3 deletions(-)

New commits:
commit 7b21c25354d16b9d9e04f36c1370b9a2edfe09fc
Author:     Karan Abrol <karan.abrol1 at gmail.com>
AuthorDate: Wed Aug 11 16:49:13 2021 +0530
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Aug 11 17:26:50 2021 +0200

    tdf#139734 Remove redundant asserts after MacrosTest::loadFromDesktop
    
    Change-Id: Ia1b63a38b6522ecf52cc2e923e93d6bf0a41ea86
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120319
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sc/qa/extras/sccellfieldsobj.cxx b/sc/qa/extras/sccellfieldsobj.cxx
index 98f0db3e23c3..573942b4028b 100644
--- a/sc/qa/extras/sccellfieldsobj.cxx
+++ b/sc/qa/extras/sccellfieldsobj.cxx
@@ -95,7 +95,6 @@ void ScCellFieldsObj::setUp()
 {
     CalcUnoApiTest::setUp();
     m_xComponent = loadFromDesktop("private:factory/scalc");
-    CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
 }
 
 void ScCellFieldsObj::tearDown()
diff --git a/sc/qa/extras/sccellformatsenumeration.cxx b/sc/qa/extras/sccellformatsenumeration.cxx
index 93e07be162b2..0ecb6aea359d 100644
--- a/sc/qa/extras/sccellformatsenumeration.cxx
+++ b/sc/qa/extras/sccellformatsenumeration.cxx
@@ -73,7 +73,6 @@ void ScCellFormatsEnumeration::setUp()
 {
     CalcUnoApiTest::setUp();
     m_xComponent = loadFromDesktop("private:factory/scalc");
-    CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
 }
 
 void ScCellFormatsEnumeration::tearDown()
diff --git a/sc/qa/extras/sccellformatsobj.cxx b/sc/qa/extras/sccellformatsobj.cxx
index c2d7e91d1baa..58d570f8be26 100644
--- a/sc/qa/extras/sccellformatsobj.cxx
+++ b/sc/qa/extras/sccellformatsobj.cxx
@@ -86,7 +86,6 @@ void ScCellFormatsObj::setUp()
 {
     CalcUnoApiTest::setUp();
     m_xComponent = loadFromDesktop("private:factory/scalc");
-    CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
 }
 
 void ScCellFormatsObj::tearDown()


More information about the Libreoffice-commits mailing list