From 54170057d54e08369ca2d753df48443ac8d5c5b6 Mon Sep 17 00:00:00 2001 From: Radhey Parekh Date: Sat, 5 Jun 2021 19:43:45 +0530 Subject: tdf#141908 replace sal_Int32 with Color in sc_subsequent_filters-test2 Change-Id: I45e8825c6ba90b1800d656820fd9f3cbb3c13d58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116749 Tested-by: Xisco Fauli Reviewed-by: Xisco Fauli --- sc/qa/unit/subsequent_filters-test2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc') diff --git a/sc/qa/unit/subsequent_filters-test2.cxx b/sc/qa/unit/subsequent_filters-test2.cxx index 4b4995f9147c..e4fddd00ad60 100644 --- a/sc/qa/unit/subsequent_filters-test2.cxx +++ b/sc/qa/unit/subsequent_filters-test2.cxx @@ -2214,13 +2214,13 @@ void ScFiltersTest2::testActiveXCheckboxXLSX() CPPUNIT_ASSERT_EQUAL(OUString("Custom Caption"), sLabel); // Check background color (highlight system color) - sal_Int32 nColor; + Color nColor; xPropertySet->getPropertyValue("BackgroundColor") >>= nColor; - CPPUNIT_ASSERT_EQUAL(sal_Int32(0x316AC5), nColor); + CPPUNIT_ASSERT_EQUAL(Color(0x316AC5), nColor); // Check Text color (active border system color) xPropertySet->getPropertyValue("TextColor") >>= nColor; - CPPUNIT_ASSERT_EQUAL(sal_Int32(0xD4D0C8), nColor); + CPPUNIT_ASSERT_EQUAL(Color(0xD4D0C8), nColor); // Check state of the checkbox sal_Int16 nState; -- cgit