diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-01-12 13:12:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-12 13:12:22 +0000 |
commit | 59c8d3a0788fbaea5217988dd93c8791b6c0e02b (patch) | |
tree | 901cd664e006cdc70cbc27c1f470a379b8171ea1 /cppu | |
parent | 9702b2cceacddf207212953371ad3de8181db1b1 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/threadpool/jobqueue.cxx | 2 | ||||
-rw-r--r-- | cppu/source/threadpool/jobqueue.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx index 6db0d68d5..61b581ccb 100644 --- a/cppu/source/threadpool/jobqueue.cxx +++ b/cppu/source/threadpool/jobqueue.cxx @@ -184,7 +184,7 @@ namespace cppu_threadpool { return m_lstCallstack.empty(); } - sal_Bool JobQueue::isBusy() + sal_Bool JobQueue::isBusy() const { return m_nToDo > 0; } diff --git a/cppu/source/threadpool/jobqueue.hxx b/cppu/source/threadpool/jobqueue.hxx index 7016fc028..9d4a35ba6 100644 --- a/cppu/source/threadpool/jobqueue.hxx +++ b/cppu/source/threadpool/jobqueue.hxx @@ -70,7 +70,7 @@ namespace cppu_threadpool sal_Bool isEmpty(); sal_Bool isCallstackEmpty(); - sal_Bool isBusy(); + sal_Bool isBusy() const; private: ::osl::Mutex m_mutex; |