diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-19 00:36:42 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-19 20:04:23 +0200 |
commit | 2d4590ae56cb3f78da17e377baa3e181db42347a (patch) | |
tree | 23552d1170fb61a4e071137cf96d6841f13b41c0 /cppu | |
parent | ec70ac6e946973d68e72cb98c8cff2c1165d9667 (diff) |
oox: drop using from header
Change-Id: Ie353c561ccdcfb3c198ff05943f0ea64a3626735
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/threadpool/thread.cxx | 1 | ||||
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 1 | ||||
-rw-r--r-- | cppu/source/threadpool/threadpool.hxx | 13 |
3 files changed, 8 insertions, 7 deletions
diff --git a/cppu/source/threadpool/thread.cxx b/cppu/source/threadpool/thread.cxx index 3cab23d50aa2..f5ce3b81149b 100644 --- a/cppu/source/threadpool/thread.cxx +++ b/cppu/source/threadpool/thread.cxx @@ -32,6 +32,7 @@ #include "threadpool.hxx" using namespace osl; +using namespace rtl; namespace cppu_threadpool { diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index 787977ff7421..b0e64ff8cd6a 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -35,6 +35,7 @@ using namespace ::std; using namespace ::osl; +using namespace ::rtl; namespace cppu_threadpool { 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; |