diff options
author | Radhey Parekh <radhey.parekh@gmail.com> | 2021-06-05 19:43:45 +0530 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-06-21 10:22:35 +0200 |
commit | 54170057d54e08369ca2d753df48443ac8d5c5b6 (patch) | |
tree | 90567c47a8e1e2e07ac6b19a615b3dd0f4ed05fd /sc | |
parent | 89459662bf2684a07596d4132c84e5da7e0af8d4 (diff) |
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 <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |