diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-28 18:10:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-28 18:10:26 +0200 |
commit | 8457b50ffd6e41b4925aef17bed2b5a2f3bf56bd (patch) | |
tree | 28d99c041a7308396829caa8c30882ee0cbca9a3 /vcl | |
parent | f702d752a785896bcaeadf767e8f2a7b296ba054 (diff) |
loplugin:simplifybool (clang-cl)
Change-Id: I230c37482cfce85534f860ecf3426254be8981ab
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/app/salinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() |