diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-04 21:30:56 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-05 07:20:29 +0100 |
commit | b5d7f596f26e3e086a6584fe69a8bbcc9c51d0bd (patch) | |
tree | 0cc3a52fca4180c21872f11ea0a5d2aff11b3b77 /vcl/source/gdi | |
parent | 9e9e08dae1abe90d7c4d81d22065f31e5b948435 (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: I4b48dddeaabf6b321196b537bb7aa55a89ab8fe3
Reviewed-on: https://gerrit.libreoffice.org/62863
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index b9394607df10..a3b9db4908d0 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -6543,8 +6543,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool if( GetFontInstance()->GetFontFace()->GetWeight() <= WEIGHT_MEDIUM && GetFontInstance()->GetFontSelectPattern().GetWeight() > WEIGHT_MEDIUM ) { - if( ! bPop ) - aLine.append( "q " ); + aLine.append("q "); bPop = true; bABold = true; } |