summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-29 20:56:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-29 20:56:20 +0200
commitcc6599137796797772b3395c79b35af48e368cce (patch)
tree42b7b043e056eb13c2a3be764438cd6f05ec8c7e
parent634fd0016ef7396a782d28272852302841f37201 (diff)
loplugin:simplifybool
Change-Id: I4a07ec3eb9ab3d01c6104346a9bd9654bdcb1efe
-rw-r--r--vcl/source/app/svmain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 69ab53bfc90a..2ebb805d2d1a 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -304,7 +304,7 @@ bool InitVCL()
pSVData->maGDIData.mpScreenFontCache = new ImplFontCache;
pSVData->maGDIData.mpGrfConverter = new GraphicConverter;
- g_bIsLeanException = getenv("LO_LEAN_EXCEPTION") ? true : false;
+ g_bIsLeanException = getenv("LO_LEAN_EXCEPTION") != nullptr;
// Set exception handler
pExceptionHandler = osl_addSignalHandler(VCLExceptionSignal_impl, nullptr);