sw/qa/extras/ooxmlexport/ooxmlexport17.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit c1ee13b11f78026a323fea7f20d82d7b056ae9bb Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Mar 29 15:28:34 2022 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Mar 29 16:20:38 2022 +0200 sw: replace usage of sal_Int32 with Color after 49a40e3ed200e7c6d728f36d0b4be22dd85c51be "tdf#135923 DOCX shape import: set text color" Change-Id: Ic96233555d8d79645ff3d5ff3711fa428b05c98b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132271 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx index 444d4f0bb5f8..486dc6c3d1e9 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx @@ -424,10 +424,8 @@ DECLARE_OOXMLEXPORT_TEST(testTdf135923, "tdf135923-min.docx") uno::Reference<text::XText> xShape(getShape(1), uno::UNO_QUERY); uno::Reference<text::XTextRange> xParagraph = getParagraphOfText(1, xShape); - CPPUNIT_ASSERT_EQUAL(sal_Int32(COL_WHITE), - getProperty<sal_Int32>(getRun(xParagraph, 1), "CharColor")); - CPPUNIT_ASSERT_EQUAL(sal_Int32(COL_BLACK), - getProperty<sal_Int32>(getRun(xParagraph, 2), "CharColor")); + CPPUNIT_ASSERT_EQUAL(COL_WHITE, getProperty<Color>(getRun(xParagraph, 1), "CharColor")); + CPPUNIT_ASSERT_EQUAL(COL_BLACK, getProperty<Color>(getRun(xParagraph, 2), "CharColor")); } CPPUNIT_PLUGIN_IMPLEMENT();