diff options
-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() |