From 57e7f48633f820223e8dd1dd06af42dc164dfe26 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 4 Jun 2015 14:13:38 +0200 Subject: loplugin:simplifybool Change-Id: I19e96b882a5cc8991035a8275aebd4ff586bf9f3 --- vcl/source/app/svapp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index bf358735f56a..0fe915fab6ce 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -419,7 +419,7 @@ void Application::AcquireSolarMutex( sal_uLong nCount ) bool Application::IsInMain() { ImplSVData* pSVData = ImplGetSVData(); - return pSVData ? pSVData->maAppData.mbInAppMain : false; + return pSVData && pSVData->maAppData.mbInAppMain; } bool Application::IsInExecute() -- cgit v1.2.3