summaryrefslogtreecommitdiff
path: root/sd/qa/unit
diff options
context:
space:
mode:
author4k5h1t <ask160203@gmail.com>2021-08-29 17:44:58 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2021-08-30 16:23:05 +0200
commit7970e700f86bca811508f9b229110d6ab4393d04 (patch)
treec096f1c1b95fb6c9bd1ebc4e46def4f588f0ffa2 /sd/qa/unit
parent158cc1d81121df12edfaf9ce80a7745e6aaad46b (diff)
tdf#139734 Drop redundant asserts after MacrosTest::loadFromDesktop
Change-Id: I7347d2c9429647e9cd87ad8147848d24f717d181 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121222 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/qa/unit')
-rw-r--r--sd/qa/unit/SVGExportTests.cxx1
-rw-r--r--sd/qa/unit/dialogs-test.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sd/qa/unit/SVGExportTests.cxx b/sd/qa/unit/SVGExportTests.cxx
index 966d3d18cfd7..d43815264d26 100644
--- a/sd/qa/unit/SVGExportTests.cxx
+++ b/sd/qa/unit/SVGExportTests.cxx
@@ -112,7 +112,6 @@ protected:
if (pName)
std::cout << pName << ",";
mxComponent = loadFromDesktop(rURL);
- CPPUNIT_ASSERT(mxComponent.is());
}
void save()
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 16b14a7b37d8..363732c75b44 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -104,7 +104,6 @@ void SdDialogsTest::setUp()
mpFact = SdAbstractDialogFactory::Create();
mxComponent = loadFromDesktop("private:factory/simpress", "com.sun.star.presentation.PresentationDocument");
- CPPUNIT_ASSERT(mxComponent.is());
mpImpressDocument = dynamic_cast<SdXImpressDocument*>(mxComponent.get());
CPPUNIT_ASSERT(mpImpressDocument);