diff options
author | Rafał Dobrakowski <dobrakowskirafal@gmail.com> | 2024-02-15 20:08:38 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-03-13 07:19:03 +0100 |
commit | 72f1800ad2f3717192287ae2678e8209e66e35d1 (patch) | |
tree | 13be9c77d2b1fb28d672c0b7d8f5f7b6f10ee5af /sw/qa/extras/rtfexport | |
parent | a2265e8faa099d9652efd12392c2877c2df1d1eb (diff) |
tdf#141908 - CppUnittests: replace usage of sal_Int32 with colors
Conversion of only one colour, Color(0, 0, 0), Color(0x000000) - COL_BLACK
Change-Id: I4ba2412929522532d32304734b0269c70d75e5ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163460
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/qa/extras/rtfexport')
-rw-r--r-- | sw/qa/extras/rtfexport/rtfexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index 4ef9ebc9e8f3..ac196f7bf5bf 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -632,7 +632,7 @@ DECLARE_RTFEXPORT_TEST(testTextframeGradient, "textframe-gradient.rtf") const Color aColA(0xd99594); const Color aColB(0xc0504d); const Color aColC(0x666666); - const Color aColD(0x000000); + const Color aColD(COL_BLACK); CPPUNIT_ASSERT_EQUAL(awt::GradientStyle_AXIAL, aGradient.Style); CPPUNIT_ASSERT_EQUAL(aColB, Color(ColorTransparency, aGradient.StartColor)); |