sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7228fd770396885bcbee972dbf432f834de19fc5 Author: Shady Mohamed <shadimabdrawy1...@gmail.com> AuthorDate: Fri Mar 10 18:43:24 2023 +0200 Commit: Andreas Heinisch <andreas.heini...@yahoo.de> CommitDate: Sat Mar 11 13:38:31 2023 +0000 tdf#141908: CppUnittests: replace usage of sal_Int32 with colors Change-Id: I0cdd505833ab0f06ef37d7219df5e7e18f00591e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148654 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index a066f88ba13b..9013dc83c126 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -1281,7 +1281,7 @@ DECLARE_OOXMLEXPORT_TEST( testActiveXCheckbox, "activex_checkbox.docx" ) CPPUNIT_ASSERT_EQUAL( OUString( "Custom Caption" ), getProperty<OUString>(xPropertySet, "Label") ); // Check background color (highlight system color) - CPPUNIT_ASSERT_EQUAL( sal_Int32( 0x316AC5 ), getProperty<sal_Int32>(xPropertySet, "BackgroundColor") ); + CPPUNIT_ASSERT_EQUAL( Color( 0x316AC5 ), getProperty<Color>(xPropertySet, "BackgroundColor") ); // Check Text color (active border system color) CPPUNIT_ASSERT_EQUAL(Color(0xD4D0C8), getProperty<Color>(xPropertySet, "TextColor"));