diff options
author | Emircan Agac <thesadson@gmail.com> | 2021-08-08 23:51:58 +0300 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-08-13 16:22:38 +0200 |
commit | 5d99a63fec50acca62fc9365708fc18bdcfedd68 (patch) | |
tree | 00f477cedec0ff58096ccda404c3fa1d15d4cdba /chart2/qa/extras | |
parent | a6ade09983dd95d6ebbd1ecfda564f645629ce34 (diff) |
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 <hossein@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'chart2/qa/extras')
-rw-r--r-- | chart2/qa/extras/chart2import.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |