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 /editeng | |
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 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 6 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 43a9be8e4635..6dfacab3ec6f 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -1189,7 +1189,7 @@ bool SvxShadowItem::GetPresentation rText = ::GetColorString( aShadowColor ) + cpDelim; const char* pId = RID_SVXITEMS_TRANSPARENT_FALSE; - if ( aShadowColor.GetTransparency() ) + if ( aShadowColor.IsTransparent() ) pId = RID_SVXITEMS_TRANSPARENT_TRUE; rText += EditResId(pId) + cpDelim + @@ -1205,7 +1205,7 @@ bool SvxShadowItem::GetPresentation cpDelim; const char* pId = RID_SVXITEMS_TRANSPARENT_FALSE; - if ( aShadowColor.GetTransparency() ) + if ( aShadowColor.IsTransparent() ) pId = RID_SVXITEMS_TRANSPARENT_TRUE; rText += EditResId(pId) + cpDelim + @@ -3096,7 +3096,7 @@ bool SvxBrushItem::GetPresentation rText = ::GetColorString( aColor ) + cpDelim; const char* pId = RID_SVXITEMS_TRANSPARENT_FALSE; - if ( aColor.GetTransparency() ) + if ( aColor.IsTransparent() ) pId = RID_SVXITEMS_TRANSPARENT_TRUE; rText += EditResId(pId); } diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index dd2205b670ab..5b931336426e 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -936,7 +936,7 @@ bool SvxTextLineItem::GetPresentation ) const { rText = GetValueTextByPos( GetValue() ); - if( !mColor.GetTransparency() ) + if( !mColor.IsTransparent() ) rText += cpDelim + ::GetColorString( mColor ); return true; } |