sc/qa/unit/subsequent_filters-test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6532bdc0a27eb31dcacf02e3bb1a587270a48b6f Author: Regina Henschel <rb.hensc...@t-online.de> AuthorDate: Fri Nov 13 01:15:04 2020 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Nov 13 11:15:51 2020 +0100 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.kagan...@collabora.com> Tested-by: Mike Kaganski <mike.kagan...@collabora.com> 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits