summaryrefslogtreecommitdiff
path: root/vcl/source/opengl/OpenGLHelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:34:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:31 +0200
commita9a4d46ce74fc3c4ff1b7399ea6be6ffeeeb8863 (patch)
treef44261f69c3c6c5cb13095d092ea538a8d47a5e0 /vcl/source/opengl/OpenGLHelper.cxx
parent9796e52ab3bbf64fa751c71e695c64d6215e1df6 (diff)
loplugin:simplifybool
Change-Id: I8276e8b356ff26241613de64bcd90b5dbcd92f29
Diffstat (limited to 'vcl/source/opengl/OpenGLHelper.cxx')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index e692584c3768..3acb0c667a94 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -539,7 +539,7 @@ GLXFBConfig OpenGLHelper::GetPixmapFBConfig( Display* pDisplay, bool& bInverted
}
glXGetFBConfigAttrib( pDisplay, aFbConfigs[i], GLX_Y_INVERTED_EXT, &nValue );
- bInverted = (nValue == True) ? true : false;
+ bInverted = nValue == True;
break;
}