diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-04 14:13:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-04 14:13:38 +0200 |
commit | 57e7f48633f820223e8dd1dd06af42dc164dfe26 (patch) | |
tree | 8aea53401501397de4a20bccf15b17a4bf7bc119 | |
parent | 656d9046a246a214c465e7984c22425c8ae9bb04 (diff) |
loplugin:simplifybool
Change-Id: I19e96b882a5cc8991035a8275aebd4ff586bf9f3
-rw-r--r-- | vcl/source/app/svapp.cxx | 2 |
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() |