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 /vcl/qa/cppunit/gen/gen.cxx | |
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 'vcl/qa/cppunit/gen/gen.cxx')
-rw-r--r-- | vcl/qa/cppunit/gen/gen.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/gen/gen.cxx b/vcl/qa/cppunit/gen/gen.cxx index 56a9d5b6ea19..bcef6c16b57f 100644 --- a/vcl/qa/cppunit/gen/gen.cxx +++ b/vcl/qa/cppunit/gen/gen.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <tools/color.hxx> #include <test/unoapi_test.hxx> #include <sfx2/objsh.hxx> @@ -65,7 +66,7 @@ CPPUNIT_TEST_FIXTURE(GenTest, testTdf107966) pVirtualDevice->SetOutputSizePixel(Size(90, 15)); pVirtualDevice->SetFillColor(Color(255, 255, 255)); pVirtualDevice->DrawRect(tools::Rectangle(Point(), Size(1350, 225))); - pVirtualDevice->SetFillColor(Color(0, 0, 0)); + pVirtualDevice->SetFillColor(COL_BLACK); AntialiasingFlags nOldAA = pVirtualDevice->GetAntialiasing(); pVirtualDevice->SetAntialiasing(nOldAA & ~AntialiasingFlags::Enable); |