From f480f26e619a4d17f790200b0c38584bbd356893 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Tue, 25 Feb 2014 18:01:43 +0100 Subject: Remove visual noise from cppu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib776a6e5397eb9731cf908c4015642c29b320ff6 Reviewed-on: https://gerrit.libreoffice.org/8247 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cppu/source/threadpool/current.cxx | 12 ++++++------ cppu/source/threadpool/current.hxx | 2 +- cppu/source/threadpool/thread.hxx | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'cppu/source/threadpool') 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 { -- cgit