diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-04 14:13:38 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-19 21:31:45 +0200 |
commit | 2dd2fb755adfa660c28cc49ebca2f11f3f8dd24a (patch) | |
tree | 24908e971dd0c18876758e8aeb436b3ff9a6f20f /vcl | |
parent | f8ff2e1ab92d725e9cbdabc209b57295c6070381 (diff) |
loplugin:simplifybool
Change-Id: I19e96b882a5cc8991035a8275aebd4ff586bf9f3
(cherry picked from commit 57e7f48633f820223e8dd1dd06af42dc164dfe26)
Diffstat (limited to 'vcl')
-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 30decf390dc4..c261a37895ae 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() |