From c9a522a383bb5dea92f46b462302eb7ab521f34b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 18 Oct 2023 19:45:08 +0200 Subject: Presumed loplugin:cppunitassertequals Change-Id: Ib8de8835d7ceb214bbf87d7cebfbb56723e8fb28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- test/source/sheet/xsheetoutline.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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)); } -- cgit