diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-05-17 18:54:22 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-05-18 05:33:52 +0000 |
commit | 3aebc670e1816a8f4f0759e97d8f39b6aab05044 (patch) | |
tree | aabce7a2757deb868d7e5b44301c12e310881ca1 /cppu/source/threadpool/threadpool.cxx | |
parent | cac5ba9ac59a89c43c052c7bbb8e44fa86d86849 (diff) |
Remove include stdio (part2)
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd
Reviewed-on: https://gerrit.libreoffice.org/15775
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cppu/source/threadpool/threadpool.cxx')
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index f910cba4c10e..5cfb7e63e8b1 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -21,7 +21,6 @@ #include <cassert> #include <unordered_map> -#include <stdio.h> #include <osl/diagnose.h> #include <osl/mutex.hxx> @@ -55,12 +54,7 @@ namespace cppu_threadpool DisposedCallerAdmin::~DisposedCallerAdmin() { -#if OSL_DEBUG_LEVEL > 1 - if( !m_lst.empty() ) - { - printf( "DisposedCallerList : %lu left\n" , static_cast<unsigned long>(m_lst.size( ))); - } -#endif + SAL_WARN_IF( !m_lst.empty(), "cppu.threadpool", "DisposedCallerList : " << m_lst.size() << " left\n"); } void DisposedCallerAdmin::dispose( sal_Int64 nDisposeId ) @@ -109,12 +103,7 @@ namespace cppu_threadpool ThreadPool::~ThreadPool() { -#if OSL_DEBUG_LEVEL > 1 - if( m_mapQueue.size() ) - { - printf( "ThreadIdHashMap : %lu left\n" , static_cast<unsigned long>(m_mapQueue.size()) ); - } -#endif + SAL_WARN_IF( m_mapQueue.size(), "cppu.threadpool", "ThreadIdHashMap: " << m_mapQueue.size() << " left\n"); } void ThreadPool::dispose( sal_Int64 nDisposeId ) |