vcl/win/app/salinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8457b50ffd6e41b4925aef17bed2b5a2f3bf56bd Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Sep 28 18:10:26 2017 +0200 loplugin:simplifybool (clang-cl) Change-Id: I230c37482cfce85534f860ecf3426254be8981ab diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 487cf7fb09d2..bc0c908d9af2 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -205,7 +205,7 @@ void ImplSalYieldMutexAcquireWithWait( sal_uInt32 nCount ) bool ImplSalYieldMutexTryToAcquire() { WinSalInstance* pInst = GetSalData()->mpInstance; - return pInst ? pInst->mpSalYieldMutex->tryToAcquire() : false; + return pInst && pInst->mpSalYieldMutex->tryToAcquire(); } void ImplSalYieldMutexRelease() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits