summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-04 14:13:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-04 14:13:38 +0200
commit57e7f48633f820223e8dd1dd06af42dc164dfe26 (patch)
tree8aea53401501397de4a20bccf15b17a4bf7bc119
parent656d9046a246a214c465e7984c22425c8ae9bb04 (diff)
loplugin:simplifybool
Change-Id: I19e96b882a5cc8991035a8275aebd4ff586bf9f3
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
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()