[Libreoffice-commits] core.git: sc/qa
Radhey Parekh (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 21 08:23:17 UTC 2021
sc/qa/unit/subsequent_filters-test2.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 54170057d54e08369ca2d753df48443ac8d5c5b6
Author: Radhey Parekh <radhey.parekh at gmail.com>
AuthorDate: Sat Jun 5 19:43:45 2021 +0530
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon Jun 21 10:22:35 2021 +0200
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 at libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
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;
More information about the Libreoffice-commits
mailing list