Kaydet (Commit) f682a6f9 authored tarafından Thomas Arnhold's avatar Thomas Arnhold Kaydeden (comit) Fridrich Štrba

oox: drop using from header

Change-Id: Ie353c561ccdcfb3c198ff05943f0ea64a3626735
üst e1bec3fa
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "threadpool.hxx" #include "threadpool.hxx"
using namespace osl; using namespace osl;
using namespace rtl;
namespace cppu_threadpool { namespace cppu_threadpool {
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
using namespace ::std; using namespace ::std;
using namespace ::osl; using namespace ::osl;
using namespace ::rtl;
namespace cppu_threadpool namespace cppu_threadpool
{ {
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "jobqueue.hxx" #include "jobqueue.hxx"
using namespace ::rtl;
namespace cppu_threadpool { namespace cppu_threadpool {
class ORequestThread; class ORequestThread;
...@@ -61,7 +60,7 @@ namespace cppu_threadpool { ...@@ -61,7 +60,7 @@ namespace cppu_threadpool {
typedef ::boost::unordered_map typedef ::boost::unordered_map
< <
ByteSequence, // ThreadID ::rtl::ByteSequence, // ThreadID
::std::pair < JobQueue * , JobQueue * >, ::std::pair < JobQueue * , JobQueue * >,
HashThreadId, HashThreadId,
EqualThreadId EqualThreadId
...@@ -127,18 +126,18 @@ namespace cppu_threadpool { ...@@ -127,18 +126,18 @@ namespace cppu_threadpool {
void dispose( sal_Int64 nDisposeId ); void dispose( sal_Int64 nDisposeId );
void destroy( sal_Int64 nDisposeId ); void destroy( sal_Int64 nDisposeId );
void addJob( const ByteSequence &aThreadId, void addJob( const ::rtl::ByteSequence &aThreadId,
bool bAsynchron, bool bAsynchron,
void *pThreadSpecificData, void *pThreadSpecificData,
RequestFun * doRequest ); RequestFun * doRequest );
void prepare( const ByteSequence &aThreadId ); void prepare( const ::rtl::ByteSequence &aThreadId );
void * enter( const ByteSequence &aThreadId, sal_Int64 nDisposeId ); void * enter( const ::rtl::ByteSequence &aThreadId, sal_Int64 nDisposeId );
/******** /********
* @return true, if queue could be successfully revoked. * @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 ); void waitInPool( rtl::Reference< ORequestThread > const & pThread );
...@@ -147,7 +146,7 @@ namespace cppu_threadpool { ...@@ -147,7 +146,7 @@ namespace cppu_threadpool {
ThreadAdmin & getThreadAdmin() { return m_aThreadAdmin; } ThreadAdmin & getThreadAdmin() { return m_aThreadAdmin; }
private: private:
void createThread( JobQueue *pQueue, const ByteSequence &aThreadId, bool bAsynchron); void createThread( JobQueue *pQueue, const ::rtl::ByteSequence &aThreadId, bool bAsynchron);
ThreadIdHashMap m_mapQueue; ThreadIdHashMap m_mapQueue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment