summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorLuv Sharma <luvsharma.del@gmail.com>2024-01-14 23:02:06 +0530
committerHossein <hossein@libreoffice.org>2024-01-17 14:49:26 +0100
commitac20b8a470706d239d8782696c6d5fab0d705a2f (patch)
treeede97cee5ca84a22a85bdae35d2fe89c41f6570d /chart2/qa
parent07059f3336f0daea15c0574a67bd99986eccedd3 (diff)
tdf#141908: replace hex colors with color keywords
Change-Id: I3d23186045c17006e50d9ef48bc26df3c79d28b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162052 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/extras/chart2import.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx
index f7324c94754f..678518d1c88a 100644
--- a/chart2/qa/extras/chart2import.cxx
+++ b/chart2/qa/extras/chart2import.cxx
@@ -637,7 +637,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ImportTest, testBnc889755)
CPPUNIT_ASSERT(basegfx::fTools::equal(aColorStops[1].getStopOffset(), 0.070000000000000007));
CPPUNIT_ASSERT_EQUAL(Color(0x404040), Color(aColorStops[1].getStopColor()));
CPPUNIT_ASSERT(basegfx::fTools::equal(aColorStops[2].getStopOffset(), 0.080000000000000002));
- CPPUNIT_ASSERT_EQUAL(Color(0xffffff), Color(aColorStops[2].getStopColor()));
+ CPPUNIT_ASSERT_EQUAL(COL_WHITE, Color(aColorStops[2].getStopColor()));
}
CPPUNIT_TEST_FIXTURE(Chart2ImportTest, testBnc882383)