diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-06 15:36:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-07 22:02:06 +0100 |
commit | ca04f207d750be041abcdb5344a6cbd308151492 (patch) | |
tree | b55ae317ad97312d3da1632037d8fab7436becb9 /cui | |
parent | 7acf5fe037e50557c6ddbc8d9a797dc727ce4001 (diff) |
0xffffffff is COL_TRANSPARENT/COL_AUTO
Change-Id: I17d4a3d3a05913f4f0fc11508f2196b30661b88a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105415
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/colorpicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 9eb92c2dba05..a03d9ce2ed01 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -1080,7 +1080,7 @@ IMPL_LINK_NOARG(ColorPickerDialog, ColorModifyEditHdl, weld::Entry&, void) Color aColor = m_xEDHex->GetColor(); - if (aColor != Color(0xffffffff) && aColor != GetColor()) + if (aColor != COL_AUTO && aColor != GetColor()) { mdRed = static_cast<double>(aColor.GetRed()) / 255.0; mdGreen = static_cast<double>(aColor.GetGreen()) / 255.0; |