diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-01-07 18:21:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-08 09:08:37 +0100 |
commit | bac6c21fb20607db0758210bf9946b46ecbb2a6f (patch) | |
tree | 0b05c5bdfc9ee832249cac998cadc63c82478c6f /cui | |
parent | b4951108cfd38ae5d0b0782fba9b382640fdb0b2 (diff) |
use more IsTransparent
Change-Id: I3ef18a2601a51d56614b5da9b56e871bd33ec79e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108942
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 39cc697ff7ff..5751a9e8064f 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -1543,7 +1543,7 @@ void SvxCharEffectsPage::ResetColor_Impl( const SfxItemSet& rSet ) m_aPreviewWin.Invalidate(); Color aRGBColor = aColor; - if (aRGBColor.GetTransparency() && aColor != COL_AUTO) + if (aRGBColor.IsTransparent() && aColor != COL_AUTO) { aRGBColor.SetTransparency(0); } |