chart2/qa/extras/chart2import.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5d99a63fec50acca62fc9365708fc18bdcfedd68
Author:     Emircan Agac <thesad...@gmail.com>
AuthorDate: Sun Aug 8 23:51:58 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Aug 13 16:22:38 2021 +0200

    tdf#141908: CppUnittests: replace usage of sal_Int32 with colors
    
    Change-Id: I7df5ec2eac7339e27f03ce8756522756b2fc80da
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120184
    Tested-by: Jenkins
    Reviewed-by: Hossein <hoss...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/chart2/qa/extras/chart2import.cxx 
b/chart2/qa/extras/chart2import.cxx
index 383e4524468a..388e0e5f1900 100644
--- a/chart2/qa/extras/chart2import.cxx
+++ b/chart2/qa/extras/chart2import.cxx
@@ -1141,9 +1141,9 @@ void Chart2ImportTest::testChartHatchFillXLSX()
     xPropSet->getPropertyValue("FillBackground") >>= bBackgroundFill;
     CPPUNIT_ASSERT(bBackgroundFill);
 
-    sal_Int32 nBackgroundColor;
+    Color nBackgroundColor;
     xPropSet->getPropertyValue("FillColor") >>= nBackgroundColor;
-    CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0xFFFFFF), nBackgroundColor);
+    CPPUNIT_ASSERT_EQUAL(COL_WHITE, nBackgroundColor);
 
     // Check the datapoint has HatchName value
     uno::Reference<chart2::XDataSeries> 
xDataSeries(getDataSeriesFromDoc(xChartDoc, 0));

Reply via email to