summaryrefslogtreecommitdiff
path: root/sw/source/core/access
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-01-07 18:21:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-08 09:08:37 +0100
commitbac6c21fb20607db0758210bf9946b46ecbb2a6f (patch)
tree0b05c5bdfc9ee832249cac998cadc63c82478c6f /sw/source/core/access
parentb4951108cfd38ae5d0b0782fba9b382640fdb0b2 (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 'sw/source/core/access')
-rw-r--r--sw/source/core/access/accframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/access/accframe.cxx b/sw/source/core/access/accframe.cxx
index 2e47aefcdcf4..0aa31107279d 100644
--- a/sw/source/core/access/accframe.cxx
+++ b/sw/source/core/access/accframe.cxx
@@ -374,7 +374,7 @@ bool SwAccessibleFrame::IsOpaque( SwViewShell const *pVSh ) const
return false;
const SvxBrushItem &rBack = pFrame->GetAttrSet()->GetBackground();
- if( !rBack.GetColor().GetTransparency() ||
+ if( !rBack.GetColor().IsTransparent() ||
rBack.GetGraphicPos() != GPOS_NONE )
return true;