summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-01-12 13:12:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-12 13:12:22 +0000
commit6ca25e81926be8c7a28f1dfb5c4c4a14370e8413 (patch)
treece9a550b62ba476909ab4d72caf1a50f78a46e53 /cppu
parentc34bae9706fce2bb1a9e9794f75a8233b1312042 (diff)
Some cppcheck cleaning
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/threadpool/jobqueue.cxx2
-rw-r--r--cppu/source/threadpool/jobqueue.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx
index 92bd7cf97607..a148b0773768 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 bfeef9b4a576..6bddcc73483f 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;