diff options
author | sb <sb@openoffice.org> | 2009-10-13 13:03:26 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-10-13 13:03:26 +0200 |
commit | d280fada4056f6e1a9db7b4f6adf58c547864270 (patch) | |
tree | dd39a303108fb4d8f33a6baebc5cdf5e7e2f5805 /sal/inc | |
parent | 6107d76a57d3d5f5e0303d049558eb613ed33ae5 (diff) |
#i105639# made two functions const (patch by cmc)
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/thread.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/osl/thread.hxx b/sal/inc/osl/thread.hxx index 0df24e07587a..b770120c167e 100644 --- a/sal/inc/osl/thread.hxx +++ b/sal/inc/osl/thread.hxx @@ -117,7 +117,7 @@ public: osl_joinWithThread(m_hThread); } - sal_Bool SAL_CALL isRunning() + sal_Bool SAL_CALL isRunning() const { return osl_isThreadRunning(m_hThread); } @@ -128,7 +128,7 @@ public: osl_setThreadPriority(m_hThread, Priority); } - oslThreadPriority SAL_CALL getPriority() + oslThreadPriority SAL_CALL getPriority() const { return m_hThread ? osl_getThreadPriority(m_hThread) : osl_Thread_PriorityUnknown; } |