diff options
author | Harshita Nag <nagharshita16@gmail.com> | 2021-08-17 20:46:05 +0530 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-02-15 14:16:17 +0100 |
commit | 6125517102493341b8172acd463dd9126afa7a64 (patch) | |
tree | c30be434fdb907079d2381d79fa8af1cc8d2b0a8 /sw/qa | |
parent | f45e4008cb21832fd7922dad3e014d66b15f9a4a (diff) |
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 <hossein@libreoffice.org>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport11.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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") |