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 /vcl/source/gdi/pdfwriter_impl.cxx | |
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 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 9b70300e5cc7..968af851ae86 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -7162,7 +7162,7 @@ void PDFWriterImpl::drawTextLine( const Point& rPos, tools::Long nWidth, FontStr m_aPages.back().appendMatrix3(aMat, aLine); aLine.append( " cm\n" ); - if ( aUnderlineColor.GetTransparency() != 0 ) + if ( aUnderlineColor.IsTransparent() ) aUnderlineColor = aStrikeoutColor; if ( (eUnderline == LINESTYLE_SMALLWAVE) || |