summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-07-24 15:41:32 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-07-24 18:05:06 +0200
commit9dfd1bb102bb08f0651a6921722d731ab973bd08 (patch)
treeadd4a5c3403f15af513780234164051d2c48aa67 /vcl/win
parent221b0ab1245be6dba23b4ef3c516e846d95d2f71 (diff)
Add some const and fix some scheduler logging
Change-Id: Id20767ff2be34a21896d3ce2b76f3944acdb1b77
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/app/salinst.cxx4
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();