[Libreoffice-commits] core.git: sc/qa
KaranAbrol (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 13 08:35:17 UTC 2021
sc/qa/extras/sccellsenumeration.cxx | 1 -
sc/qa/extras/sccellsobj.cxx | 1 -
sc/qa/extras/scindexenumeration_cellannotationsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_databaserangesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_functiondescriptionenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_scenariosenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_subtotalfieldsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_tableautoformatenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_tablecolumnsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_tablerowsenumeration.cxx | 1 -
sc/qa/extras/scindexenumeration_textfieldenumeration.cxx | 1 -
24 files changed, 24 deletions(-)
New commits:
commit c9bcbebe34c8d0e3edab520ace15c4d367aef62f
Author: KaranAbrol <karan.abrol1 at gmail.com>
AuthorDate: Thu Aug 12 11:06:44 2021 +0530
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Fri Aug 13 10:34:43 2021 +0200
tdf#139734 Drop redundant asserts after MacrosTest::loadFromDesktop
Change-Id: I9a183ed9046ab0610a538c74e3ff8b327a6f6e4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120348
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sc/qa/extras/sccellsenumeration.cxx b/sc/qa/extras/sccellsenumeration.cxx
index 1ea47e6f208e..8961d1e2063e 100644
--- a/sc/qa/extras/sccellsenumeration.cxx
+++ b/sc/qa/extras/sccellsenumeration.cxx
@@ -86,7 +86,6 @@ void ScCellsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScCellsEnumeration::tearDown()
diff --git a/sc/qa/extras/sccellsobj.cxx b/sc/qa/extras/sccellsobj.cxx
index 3fbcd61694a1..bf7bb687008f 100644
--- a/sc/qa/extras/sccellsobj.cxx
+++ b/sc/qa/extras/sccellsobj.cxx
@@ -93,7 +93,6 @@ void ScCellsObj::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScCellsObj::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_cellannotationsenumeration.cxx b/sc/qa/extras/scindexenumeration_cellannotationsenumeration.cxx
index f5b58c67f1b1..30c2cc891af8 100644
--- a/sc/qa/extras/scindexenumeration_cellannotationsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_cellannotationsenumeration.cxx
@@ -79,7 +79,6 @@ void ScIndexEnumeration_CellAnnotationsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_CellAnnotationsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx b/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx
index 9aab87900a94..63446d4f80b8 100644
--- a/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx
@@ -72,7 +72,6 @@ void ScIndexEnumeration_CellAreaLinksEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_CellAreaLinksEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_databaserangesenumeration.cxx b/sc/qa/extras/scindexenumeration_databaserangesenumeration.cxx
index 4fc328cc507d..08a6805f821d 100644
--- a/sc/qa/extras/scindexenumeration_databaserangesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_databaserangesenumeration.cxx
@@ -71,7 +71,6 @@ void ScIndexEnumeration_DatabaseRangesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_DatabaseRangesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx
index c59291ebcf71..d29b35220304 100644
--- a/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx
@@ -93,7 +93,6 @@ void ScIndexEnumeration_DataPilotFieldsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_DataPilotFieldsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
index f99e9d78ac89..05ce7ffdd760 100644
--- a/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
@@ -125,7 +125,6 @@ void ScIndexEnumeration_DataPilotItemsEnumeration::setUp()
CalcUnoApiTest::setUp();
// create a calc document
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_DataPilotItemsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx
index 33e5092b170b..7f59857847e6 100644
--- a/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx
@@ -92,7 +92,6 @@ void ScIndexEnumeration_DataPilotTablesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_DataPilotTablesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx b/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx
index da64bc9a1c35..d229dd59796d 100644
--- a/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx
@@ -81,7 +81,6 @@ void ScIndexEnumeration_DDELinksEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_DDELinksEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_functiondescriptionenumeration.cxx b/sc/qa/extras/scindexenumeration_functiondescriptionenumeration.cxx
index 33572aa2d7ff..91408ddbf862 100644
--- a/sc/qa/extras/scindexenumeration_functiondescriptionenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_functiondescriptionenumeration.cxx
@@ -67,7 +67,6 @@ void ScIndexEnumeration_FunctionDescriptionEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_FunctionDescriptionEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx
index 1da0b0138050..284436242d0e 100644
--- a/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx
@@ -73,7 +73,6 @@ void ScIndexEnumeration_LabelRangesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_LabelRangesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx
index 2a1b2a8c4ee2..d508f4fe148d 100644
--- a/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx
@@ -78,7 +78,6 @@ void ScIndexEnumeration_NamedRangesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_NamedRangesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_scenariosenumeration.cxx b/sc/qa/extras/scindexenumeration_scenariosenumeration.cxx
index dc96e1d767d6..bd01aaee7681 100644
--- a/sc/qa/extras/scindexenumeration_scenariosenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_scenariosenumeration.cxx
@@ -87,7 +87,6 @@ void ScIndexEnumeration_ScenariosEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_ScenariosEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
index bbd80a38216b..1ce69f621fbc 100644
--- a/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
@@ -104,7 +104,6 @@ void ScIndexEnumeration_SheetCellRangesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_SheetCellRangesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx b/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx
index b68f540c2d48..e0a3b5cd2393 100644
--- a/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx
@@ -82,7 +82,6 @@ void ScIndexEnumeration_SheetLinksEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_SheetLinksEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx b/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx
index 5561f4fda40a..faf8878a2b83 100644
--- a/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx
@@ -65,7 +65,6 @@ void ScIndexEnumeration_SpreadsheetsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_SpreadsheetsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration.cxx b/sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration.cxx
index ef4c9b0524ce..a34207b9b8c7 100644
--- a/sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration.cxx
@@ -73,7 +73,6 @@ void ScIndexEnumeration_SpreadsheetViewPanesEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_SpreadsheetViewPanesEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_subtotalfieldsenumeration.cxx b/sc/qa/extras/scindexenumeration_subtotalfieldsenumeration.cxx
index ec270ee54136..69cc3abbc7a9 100644
--- a/sc/qa/extras/scindexenumeration_subtotalfieldsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_subtotalfieldsenumeration.cxx
@@ -82,7 +82,6 @@ void ScIndexEnumeration_SubTotalFieldsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_SubTotalFieldsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_tableautoformatenumeration.cxx b/sc/qa/extras/scindexenumeration_tableautoformatenumeration.cxx
index c238e317937f..23f930af1ad6 100644
--- a/sc/qa/extras/scindexenumeration_tableautoformatenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_tableautoformatenumeration.cxx
@@ -66,7 +66,6 @@ void ScIndexEnumeration_TableAutoFormatEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TableAutoFormatEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx b/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx
index 7e974fff43fc..73facfad4b19 100644
--- a/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx
@@ -146,7 +146,6 @@ void ScIndexEnumeration_TableChartsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TableChartsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_tablecolumnsenumeration.cxx b/sc/qa/extras/scindexenumeration_tablecolumnsenumeration.cxx
index 10f1b129be61..7ec0de3d2bb3 100644
--- a/sc/qa/extras/scindexenumeration_tablecolumnsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_tablecolumnsenumeration.cxx
@@ -76,7 +76,6 @@ void ScIndexEnumeration_TableColumnsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TableColumnsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx b/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx
index 710493cbb74c..920988263d58 100644
--- a/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx
@@ -103,7 +103,6 @@ void ScIndexEnumeration_TableConditionalEntryEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TableConditionalEntryEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_tablerowsenumeration.cxx b/sc/qa/extras/scindexenumeration_tablerowsenumeration.cxx
index 7a1068a335e4..3d3ceefb893a 100644
--- a/sc/qa/extras/scindexenumeration_tablerowsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_tablerowsenumeration.cxx
@@ -78,7 +78,6 @@ void ScIndexEnumeration_TableRowsEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TableRowsEnumeration::tearDown()
diff --git a/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx b/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx
index 6270ca089052..a0dd65fc68b4 100644
--- a/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx
@@ -84,7 +84,6 @@ void ScIndexEnumeration_TextFieldEnumeration::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScIndexEnumeration_TextFieldEnumeration::tearDown()
More information about the Libreoffice-commits
mailing list