summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/threadpool.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-19 00:36:42 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-19 20:04:23 +0200
commit2d4590ae56cb3f78da17e377baa3e181db42347a (patch)
tree23552d1170fb61a4e071137cf96d6841f13b41c0 /cppu/source/threadpool/threadpool.hxx
parentec70ac6e946973d68e72cb98c8cff2c1165d9667 (diff)
oox: drop using from header
Change-Id: Ie353c561ccdcfb3c198ff05943f0ea64a3626735
Diffstat (limited to 'cppu/source/threadpool/threadpool.hxx')
-rw-r--r--cppu/source/threadpool/threadpool.hxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx
index cd8d7da2d18b..83f219e0960b 100644
--- a/cppu/source/threadpool/threadpool.hxx
+++ b/cppu/source/threadpool/threadpool.hxx
@@ -35,7 +35,6 @@
#include "jobqueue.hxx"
-using namespace ::rtl;
namespace cppu_threadpool {
class ORequestThread;
@@ -61,7 +60,7 @@ namespace cppu_threadpool {
typedef ::boost::unordered_map
<
- ByteSequence, // ThreadID
+ ::rtl::ByteSequence, // ThreadID
::std::pair < JobQueue * , JobQueue * >,
HashThreadId,
EqualThreadId
@@ -127,18 +126,18 @@ namespace cppu_threadpool {
void dispose( sal_Int64 nDisposeId );
void destroy( sal_Int64 nDisposeId );
- void addJob( const ByteSequence &aThreadId,
+ void addJob( const ::rtl::ByteSequence &aThreadId,
bool bAsynchron,
void *pThreadSpecificData,
RequestFun * doRequest );
- void prepare( const ByteSequence &aThreadId );
- void * enter( const ByteSequence &aThreadId, sal_Int64 nDisposeId );
+ void prepare( const ::rtl::ByteSequence &aThreadId );
+ void * enter( const ::rtl::ByteSequence &aThreadId, sal_Int64 nDisposeId );
/********
* @return true, if queue could be successfully revoked.
********/
- bool revokeQueue( const ByteSequence & aThreadId , bool bAsynchron );
+ bool revokeQueue( const ::rtl::ByteSequence & aThreadId , bool bAsynchron );
void waitInPool( rtl::Reference< ORequestThread > const & pThread );
@@ -147,7 +146,7 @@ namespace cppu_threadpool {
ThreadAdmin & getThreadAdmin() { return m_aThreadAdmin; }
private:
- void createThread( JobQueue *pQueue, const ByteSequence &aThreadId, bool bAsynchron);
+ void createThread( JobQueue *pQueue, const ::rtl::ByteSequence &aThreadId, bool bAsynchron);
ThreadIdHashMap m_mapQueue;