summaryrefslogtreecommitdiff
path: root/vcl/opengl
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/opengl
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/opengl')
-rw-r--r--vcl/opengl/gdiimpl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 9e1bc471d13f..5b92cb08c64b 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -631,9 +631,7 @@ bool OpenGLSalGraphicsImpl::UseSolid()
bool OpenGLSalGraphicsImpl::UseInvert50()
{
- if( !UseProgram( "dumbVertexShader", "invert50FragmentShader" ) )
- return false;
- return true;
+ return UseProgram( "dumbVertexShader", "invert50FragmentShader" );
}
bool OpenGLSalGraphicsImpl::UseSolid( SalColor nColor )
mk?id=4122e02986f3f67e7c97eda914869f3ae23a5e2c'>We need share/liblangtag, tooTor Lillqvist 2018-11-09Do put a BRAND_SHARE_RESOURCE_SUBDIR setting into fundamentalrc for iOSTor Lillqvist 2018-11-09Alignment (whitespace) cleanupTor Lillqvist 2018-11-06The image zipfiles should be in share/config, it seemsTor Lillqvist 2018-10-12Avoid superfluous directory levelTor Lillqvist 2018-09-28Start on the iOS unit test appTor Lillqvist 2018-09-14Return share/config/soffice.cfg as it was, as I think the code expectsTor Lillqvist 2018-09-05Don't copy files into the source directory, use workdirTor Lillqvist 2018-09-05Put the lib names one per line to match what ld's -filelist expectsTor Lillqvist 2018-09-05Run bin/ios-all-static-libs and put its output in a fileTor Lillqvist 2018-07-17Use $(ICU_MAJOR) instead of hard coded (Upgrade to ICU 62.1)Eike Rathke 2018-06-07We use ICU 61 nowTor Lillqvist