diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:01:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-27 06:12:56 -0600 |
commit | f480f26e619a4d17f790200b0c38584bbd356893 (patch) | |
tree | 4ce402daf412d886a64e6ab31e00761ab97178fb /cppu/source/threadpool | |
parent | 0bb7b87a7e0b810ac9ff4d4da0bbf7c7c273fb19 (diff) |
Remove visual noise from cppu
Change-Id: Ib776a6e5397eb9731cf908c4015642c29b320ff6
Reviewed-on: https://gerrit.libreoffice.org/8247
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cppu/source/threadpool')
-rw-r--r-- | cppu/source/threadpool/current.cxx | 12 | ||||
-rw-r--r-- | cppu/source/threadpool/current.hxx | 2 | ||||
-rw-r--r-- | cppu/source/threadpool/thread.hxx | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx index bb64202fd170..9ae55e9e8654 100644 --- a/cppu/source/threadpool/current.cxx +++ b/cppu/source/threadpool/current.cxx @@ -93,9 +93,9 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext() return s_type_XCurrentContext; } -//################################################################################################## -//================================================================================================== + + class ThreadKey { bool _bInit; @@ -137,7 +137,7 @@ inline oslThreadKey ThreadKey::getThreadKey() SAL_THROW(()) return _hThreadKey; } -//================================================================================================== + extern "C" void SAL_CALL delete_IdContainer( void * p ) { if (p) @@ -158,7 +158,7 @@ extern "C" void SAL_CALL delete_IdContainer( void * p ) delete pId; } } -//================================================================================================== + IdContainer * getIdContainer() SAL_THROW(()) { static ThreadKey s_key( delete_IdContainer ); @@ -178,7 +178,7 @@ IdContainer * getIdContainer() SAL_THROW(()) } -//################################################################################################## + extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_setCurrentContext( void * pCurrentContext, rtl_uString * pEnvTypeName, void * pEnvContext ) @@ -226,7 +226,7 @@ extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_setCurrentContext( } return sal_True; } -//################################################################################################## + extern "C" CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_getCurrentContext( void ** ppCurrentContext, rtl_uString * pEnvTypeName, void * pEnvContext ) SAL_THROW_EXTERN_C() diff --git a/cppu/source/threadpool/current.hxx b/cppu/source/threadpool/current.hxx index f425fd3ad0aa..a238f9fb9b9e 100644 --- a/cppu/source/threadpool/current.hxx +++ b/cppu/source/threadpool/current.hxx @@ -32,7 +32,7 @@ struct IdContainer { void * pCurrentContext; uno_ExtEnvironment * pCurrentContextEnv; - // + bool bInit; sal_Sequence * pLocalThreadId; sal_Int32 nRefCountOfCurrentId; diff --git a/cppu/source/threadpool/thread.hxx b/cppu/source/threadpool/thread.hxx index 49785bc18ded..64641816df01 100644 --- a/cppu/source/threadpool/thread.hxx +++ b/cppu/source/threadpool/thread.hxx @@ -30,10 +30,10 @@ namespace cppu_threadpool { class JobQueue; - //----------------------------------------- + // private thread class for the threadpool // independent from vos - //----------------------------------------- + class ORequestThread: public salhelper::SimpleReferenceObject, public osl::Thread { |