summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-04 18:39:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-05-30 17:58:14 +0200
commitec49295718144aeeb81683bcfe5923c3610e8d21 (patch)
treee91f07fea0d003cd8a2c84b64e0cc06de8f41b5d /vcl
parent7b7c43f3c86eeeb7c092621464a747604a1cd48a (diff)
Resolves: tdf#108111 backport mono checkboxes fix
replace the blue which will be set to transparent, with transparent and then we don't "manually" replace a color with transparent which makes tdf#108111 look right again (cherry picked from commit f1a8e00764b32c3b799ecd40dcb4dd632493bc45) Change-Id: I95923685d412145e88b672a50311c767d1425493 Reviewed-on: https://gerrit.libreoffice.org/38223 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 47dc44a22564..02cd28ca270a 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2766,10 +2766,8 @@ static void LoadThemedImageList (const StyleSettings &rStyleSettings,
aColorAry2[4] = rStyleSettings.GetDarkShadowColor();
aColorAry2[5] = rStyleSettings.GetWindowTextColor();
- Color aMaskColor(0x00, 0x00, 0xFF );
static_assert( sizeof(aColorAry1) == sizeof(aColorAry2), "aColorAry1 must match aColorAry2" );
- // FIXME: do we want the mask for the checkbox ?
- pList->InsertFromHorizontalBitmap (rResId, nImages, &aMaskColor,
+ pList->InsertFromHorizontalBitmap (rResId, nImages, nullptr,
aColorAry1, aColorAry2, SAL_N_ELEMENTS(aColorAry1));
}