summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-12 17:38:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-12 22:00:27 +0200
commitd635e73308dc6fcea9897855b5167be09f52f840 (patch)
treeeb10ae2e7b0dcc8e2b57fcd25d81f05ee9bb604b
parent3cc72a1880d1fe2507892eabeb979aa0938dadc5 (diff)
tdf#156686 AutoFilter arrows have white background in kf5/gen
regression from commit 81994cb2b8b32453a92bcb011830fcb884f22ff3 Author: Noel Grandin Date: Fri Apr 16 20:33:10 2021 +0200 Convert internal vcl bitmap formats transparency->alpha (II) Change-Id: Ia2248b27cbe20296fc6f96a4afc0c38e29f8750f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 2ff0e4a4dc00..92e7096fc25a 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -180,7 +180,7 @@ void ScCheckListMenuControl::CreateDropDown()
aSpinColor = rStyleSettings.GetDarkShadowColor();
int nWidth = (mxMenu->get_text_height() * 3) / 4;
- mxDropDown->SetOutputSizePixel(Size(nWidth, nWidth));
+ mxDropDown->SetOutputSizePixel(Size(nWidth, nWidth), /*bErase*/true, /*bAlphaMaskTransparent*/true);
DecorationView aDecoView(mxDropDown.get());
aDecoView.DrawSymbol(tools::Rectangle(Point(0, 0), Size(nWidth, nWidth)),
SymbolType::SPIN_RIGHT, aSpinColor,