[Libreoffice-commits] .: cppu/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Jan 12 05:13:42 PST 2011


 cppu/source/threadpool/jobqueue.cxx |    2 +-
 cppu/source/threadpool/jobqueue.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 59c8d3a0788fbaea5217988dd93c8791b6c0e02b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Jan 12 13:12:22 2011 +0000

    Some cppcheck cleaning

diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx
index 6db0d68..61b581c 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 7016fc0..9d4a35b 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;


More information about the Libreoffice-commits mailing list