diff options
author | Rafał Dobrakowski <dobrakowskirafal@gmail.com> | 2024-02-15 21:07:59 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-03-14 02:33:03 +0100 |
commit | c8b8a2c2cb34a1ae0b0aeee0564b39260258f184 (patch) | |
tree | 2bda2b8730337c9c96c4827942728fac5770bf69 /canvas | |
parent | d5f25d9c0026ec06a0b46e1560e26adba2725290 (diff) |
tdf#141908 - CppUnittests: replace usage of sal_Int32 with colors
Conversion of hex/dec colour notation
(example entry Color( 255, 255, 255), Color(0xFFFFFF) - COL_WHITE)
For the other available colour definitions.
Change-Id: I9eed0cd64adcbc8d25e1c22143a000906a457586
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163729
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/spritehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx index f188526930a0..7b3384c934e7 100644 --- a/canvas/source/vcl/spritehelper.cxx +++ b/canvas/source/vcl/spritehelper.cxx @@ -166,7 +166,7 @@ namespace vclcanvas if( mbShowSpriteBounds ) { // Paint green sprite clip area - rTargetSurface.SetLineColor( Color( 0,255,0 ) ); + rTargetSurface.SetLineColor( COL_LIGHTGREEN ); rTargetSurface.SetFillColor(); rTargetSurface.DrawPolyPolygon(::tools::PolyPolygon(aClipPoly)); // #i76339# |