diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-24 15:41:32 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-24 18:05:06 +0200 |
commit | 9dfd1bb102bb08f0651a6921722d731ab973bd08 (patch) | |
tree | add4a5c3403f15af513780234164051d2c48aa67 /vcl/win | |
parent | 221b0ab1245be6dba23b4ef3c516e846d95d2f71 (diff) |
Add some const and fix some scheduler logging
Change-Id: Id20767ff2be34a21896d3ce2b76f3944acdb1b77
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/app/salinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 6833c546a5ce..8e718e37e883 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -245,8 +245,8 @@ sal_uLong ImplSalReleaseYieldMutex() return 0; SalYieldMutex* pYieldMutex = pInst->mpSalYieldMutex; - sal_uLong nCount = pYieldMutex->GetAcquireCount( GetCurrentThreadId() ); - sal_uLong n = nCount; + const sal_uLong nCount = pYieldMutex->GetAcquireCount( GetCurrentThreadId() ); + sal_uLong n = nCount; while ( n ) { pYieldMutex->release(); |