diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-18 19:45:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 21:19:33 +0200 |
commit | c9a522a383bb5dea92f46b462302eb7ab521f34b (patch) | |
tree | fefab8c37ef42b86fad17aa268cfdeea88b922d9 /test | |
parent | 30c4d857612ec3ba6c252d6da70b0195e0e1d902 (diff) |
Presumed loplugin:cppunitassertequals
Change-Id: Ib8de8835d7ceb214bbf87d7cebfbb56723e8fb28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158135
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/sheet/xsheetoutline.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/source/sheet/xsheetoutline.cxx b/test/source/sheet/xsheetoutline.cxx index d60820021b29..e5b99c86a369 100644 --- a/test/source/sheet/xsheetoutline.cxx +++ b/test/source/sheet/xsheetoutline.cxx @@ -102,14 +102,14 @@ void XSheetOutline::testShowDetail() aSheetOutline->showDetail(aLevelRangeAddress); CPPUNIT_ASSERT_EQUAL_MESSAGE("Row level 2 still hidden", - getVisibleAddress(aSheet, rowLevel2), OUString(rowLevel2)); + OUString(rowLevel2), getVisibleAddress(aSheet, rowLevel2)); // Column Level 2 aLevelRangeAddress = getAddressFromRangeString(aSheet, colLevel2); aSheetOutline->showDetail(aLevelRangeAddress); CPPUNIT_ASSERT_EQUAL_MESSAGE("Column level 2 still hidden", - getVisibleAddress(aSheet, colLevel2), OUString(colLevel2)); + OUString(colLevel2), getVisibleAddress(aSheet, colLevel2)); } @@ -254,8 +254,8 @@ void XSheetOutline::testClearOutline() aLevelRangeAddress = getAddressFromRangeString(aSheet, rowLevel1); aSheetOutline->hideDetail(aLevelRangeAddress); - CPPUNIT_ASSERT_EQUAL_MESSAGE("testClearOutline Columns are hidden after clear", getVisibleAddress(aSheet, colLevel1), OUString(colLevel1)); - CPPUNIT_ASSERT_EQUAL_MESSAGE("testClearOutline Rows are hidden after clear", getVisibleAddress(aSheet, rowLevel1), OUString(rowLevel1)); + CPPUNIT_ASSERT_EQUAL_MESSAGE("testClearOutline Columns are hidden after clear", OUString(colLevel1), getVisibleAddress(aSheet, colLevel1)); + CPPUNIT_ASSERT_EQUAL_MESSAGE("testClearOutline Rows are hidden after clear", OUString(rowLevel1), getVisibleAddress(aSheet, rowLevel1)); } |