sw/qa/extras/ooxmlexport/ooxmlexport11.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6125517102493341b8172acd463dd9126afa7a64
Author:     Harshita Nag <nagharshit...@gmail.com>
AuthorDate: Tue Aug 17 20:46:05 2021 +0530
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Tue Feb 15 14:16:17 2022 +0100

    tdf#141908: CppUnittests: replace usage of sal_Int32 with Color
    
    Change-Id: Ife5de403a4684c8cae066d8b063f6bf0a989a3ef
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120612
    Tested-by: Jenkins
    Reviewed-by: Hossein <hoss...@libreoffice.org>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index 6e5de25b3169..facb455d560e 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -619,8 +619,8 @@ DECLARE_OOXMLEXPORT_TEST(testTdf107035, "tdf107035.docx")
     auto xPgNumRun = getRun(getParagraph(1), 2, "1");
 
     // Check that the page number field colour is set to "automatic".
-    sal_Int32 nPgNumColour = getProperty<sal_Int32>(xPgNumRun, "CharColor");
-    CPPUNIT_ASSERT_EQUAL(sal_Int32(COL_AUTO), nPgNumColour);
+    Color nPgNumColour = getProperty<Color>(xPgNumRun, "CharColor");
+    CPPUNIT_ASSERT_EQUAL(COL_AUTO, nPgNumColour);
 }
 
 DECLARE_OOXMLEXPORT_TEST(testTdf112118_DOCX, "tdf112118.docx")

Reply via email to