summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-07 14:18:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-07 15:49:24 +0200
commitf69a98d1175720db3b1ce5f5ae2c7fc0fc35a2b2 (patch)
tree25e7506b385052de44e8a44e1228b4e62be7fd9e /svx/source
parent6c3989b3a09c4b43c2c5f548c8ae9248db901dc6 (diff)
tdf#156629 Font,highlighting color buttons in sidebar have white background...
..after transparency -> alpha change 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: Id1a578fcd30a9315fd5910ccdbff5d759cba77fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155425 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/tbxctrls/tbxcolorupdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx
index edd835736268..970fa40181af 100644
--- a/svx/source/tbxctrls/tbxcolorupdate.cxx
+++ b/svx/source/tbxctrls/tbxcolorupdate.cxx
@@ -213,7 +213,7 @@ namespace svx
return;
ScopedVclPtr<VirtualDevice> pVirDev(CreateVirtualDevice());
- pVirDev->SetOutputSizePixel(aItemSize);
+ pVirDev->SetOutputSizePixel(aItemSize, /*bErase*/true, /*bAlphaMaskTransparent*/true);
maBmpSize = aItemSize;
std::unique_ptr<GDIMetaFile> xMetaFile;