diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2020-12-24 11:32:51 +1100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-26 19:25:17 +0100 |
commit | b75c9642f0cae522c5cc0f059e801819662b2ddf (patch) | |
tree | 2afc38645359cc5dfd007b94b63117c8c1898239 /xmloff | |
parent | 43978d8f25a41c20c72d93cc3cb972c93c52674a (diff) |
vcl: use Color:IsTransparent() where appropriate
Change-Id: I37bbab5f22f91faad65be8ef79734ce1ee6355d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108249
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/shadwhdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/shadwhdl.cxx b/xmloff/source/style/shadwhdl.cxx index b0c9e49a5c14..b80db3a8d055 100644 --- a/xmloff/source/style/shadwhdl.cxx +++ b/xmloff/source/style/shadwhdl.cxx @@ -107,7 +107,7 @@ bool XMLShadowPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue if( bRet && ( bColorFound || bOffsetFound ) ) { - aShadow.IsTransparent = aColor.GetTransparency() > 0; + aShadow.IsTransparent = aColor.IsTransparent(); aShadow.Color = sal_Int32(aColor); bRet = true; } |