vcl/source/app/svapp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 57e7f48633f820223e8dd1dd06af42dc164dfe26 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jun 4 14:13:38 2015 +0200 loplugin:simplifybool Change-Id: I19e96b882a5cc8991035a8275aebd4ff586bf9f3 diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index bf35873..0fe915f 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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits