diff options
author | Noel Grandin <noelgrandin@collabora.co.uk> | 2025-01-30 09:14:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-01-30 11:52:36 +0100 |
commit | ff3c9428e7936ed409fb012ffb66d0321f169e94 (patch) | |
tree | 029b5ff0f74991c6984d4c881572edf8d31727ed /vcl/qa/cppunit | |
parent | 7af540ddeb42a3a733f258a77e17c7ebb16d4571 (diff) |
tdf#164799 Tooltips appear empty
regression from
commit e0d4d178caff1414a9a21fa57f06bc8d4d2c389a
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Mon Jan 13 15:03:05 2025 +0200
Change alpha behavour of OutputDevice::SetFillColor
where DrawColorWallpaper is not correctly saving/restoring the
fill color.
Previously this worked because GetFillColor would return a
transparent color if no fill color was set, and a transparent
fill color would be interpreted as "no color" when drawing.
Change-Id: I63e1ba2df0a5e2088d018068fe0a0e45453b7c77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180928
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r-- | vcl/qa/cppunit/outdev.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx index 78c3396bb4df..a6dfd4f901d6 100644 --- a/vcl/qa/cppunit/outdev.cxx +++ b/vcl/qa/cppunit/outdev.cxx @@ -971,11 +971,11 @@ CPPUNIT_TEST_FIXTURE(VclOutdevTest, testErase) CPPUNIT_ASSERT_EQUAL_MESSAGE("Not a rect action", MetaActionType::RECT, pAction->GetType()); pAction = aMtf.GetAction(INITIAL_SETUP_ACTION_COUNT + 3); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Not a line color action (end)", MetaActionType::LINECOLOR, + CPPUNIT_ASSERT_EQUAL_MESSAGE("Not a fill color action (end)", MetaActionType::FILLCOLOR, pAction->GetType()); pAction = aMtf.GetAction(INITIAL_SETUP_ACTION_COUNT + 4); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Not a fill color action (end)", MetaActionType::FILLCOLOR, + CPPUNIT_ASSERT_EQUAL_MESSAGE("Not a line color action (end)", MetaActionType::LINECOLOR, pAction->GetType()); } |