diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2020-11-13 01:15:04 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-13 11:15:51 +0100 |
commit | 6532bdc0a27eb31dcacf02e3bb1a587270a48b6f (patch) | |
tree | 4fbe6394f59e722c6fff3441c4b99aec986e6cf1 /sc/qa | |
parent | 85622e6cf676e507dea8845b5637f3a1df327490 (diff) |
Force number constants to tools::Long in asserts
Change-Id: I404b0edb31fb4eb797baf814136b00fd605724eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105775
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 891cc326b907..229d0b3df8fa 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -1069,7 +1069,7 @@ void ScFiltersTest::testBorderODS() CPPUNIT_ASSERT(pRight); CPPUNIT_ASSERT_EQUAL(SvxBorderLineStyle::SOLID, pRight->GetBorderLineStyle()); - CPPUNIT_ASSERT_EQUAL(20L, pRight->GetWidth()); + CPPUNIT_ASSERT_EQUAL(tools::Long(20), pRight->GetWidth()); rDoc.GetBorderLines( 2, 8, 0, &pLeft, &pTop, &pRight, &pBottom ); @@ -1078,7 +1078,7 @@ void ScFiltersTest::testBorderODS() CPPUNIT_ASSERT(pBottom); CPPUNIT_ASSERT(pRight); CPPUNIT_ASSERT_EQUAL(SvxBorderLineStyle::SOLID, pRight->GetBorderLineStyle()); - CPPUNIT_ASSERT_EQUAL(5L, pRight->GetWidth()); + CPPUNIT_ASSERT_EQUAL(tools::Long(5), pRight->GetWidth()); CPPUNIT_ASSERT_EQUAL(COL_BLUE, pRight->GetColor()); xDocSh->DoClose(); |