summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-25 10:33:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-25 12:15:17 +0200
commita334e85a2f0885b0d931fe80c50c4b3d07af7dd5 (patch)
treeb4e2e73f094bf5a00c930af201822f75ffd9a8ec /vcl/unx/generic/gdi
parent633bab98427fa3760c67274082283cd36b4508ca (diff)
clang-tidy readability-simplify-boolean-expr in vcl
Change-Id: I10ad38bcb5b05a754de9a396f4aaa79d97458d6f Reviewed-on: https://gerrit.libreoffice.org/36930 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r--vcl/unx/generic/gdi/cairotextrender.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index 6321f64e1c64..c1b4ff193679 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -464,10 +464,7 @@ bool CairoTextRender::GetGlyphOutline(const GlyphItem& rGlyph,
if( !pSF )
return false;
- if( pSF->GetGlyphOutline(rGlyph, rPolyPoly))
- return true;
-
- return false;
+ return pSF->GetGlyphOutline(rGlyph, rPolyPoly);
}
SalLayout* CairoTextRender::GetTextLayout(ImplLayoutArgs& /*rArgs*/, int nFallbackLevel)