diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /testtools/source/performance/pseudo.cxx | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'testtools/source/performance/pseudo.cxx')
-rw-r--r-- | testtools/source/performance/pseudo.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx index 3c5d35ccbf67..613ae9af9132 100644 --- a/testtools/source/performance/pseudo.cxx +++ b/testtools/source/performance/pseudo.cxx @@ -59,7 +59,7 @@ struct pseudo_unoInterfaceProxy : public uno_Interface typelib_InterfaceTypeDescription * pTypeDescr_, const OUString & rOId_ ); }; -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_unoInterfaceProxy_dispatch( uno_Interface * pUnoI, const typelib_TypeDescription * pMemberType, @@ -71,7 +71,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_dispatch( (*pThis->pUnoI->pDispatcher)( pThis->pUnoI, pMemberType, pReturn, pArgs, ppException ); } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy ) { pseudo_unoInterfaceProxy * pThis = @@ -89,7 +89,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, v #endif delete pThis; } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_unoInterfaceProxy_acquire( uno_Interface * pUnoI ) { if (1 == osl_atomic_increment( &static_cast< pseudo_unoInterfaceProxy * >( pUnoI )->nRef )) @@ -105,7 +105,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_acquire( uno_Interface * pUnoI ) OSL_ASSERT( pThis == static_cast< uno_Interface * >( pUnoI ) ); } } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_unoInterfaceProxy_release( uno_Interface * pUnoI ) { if (! osl_atomic_decrement( & static_cast< pseudo_unoInterfaceProxy * >( pUnoI )->nRef )) @@ -115,7 +115,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_release( uno_Interface * pUnoI ) static_cast< pseudo_unoInterfaceProxy * >( pUnoI )->pPseudoMapping->pTo, pUnoI ); } } -//__________________________________________________________________________________________________ + inline pseudo_unoInterfaceProxy::pseudo_unoInterfaceProxy( pseudo_Mapping * pPseudoMapping_, uno_Interface * pUnoI_, typelib_InterfaceTypeDescription * pTypeDescr_, const OUString & rOId_ ) @@ -137,7 +137,7 @@ inline pseudo_unoInterfaceProxy::pseudo_unoInterfaceProxy( uno_Interface::pDispatcher = pseudo_unoInterfaceProxy_dispatch; } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_Mapping_mapInterface( uno_Mapping * pMapping, void ** ppOut, void * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr ) @@ -180,12 +180,12 @@ static void SAL_CALL pseudo_Mapping_mapInterface( } } } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_Mapping_free( uno_Mapping * pMapping ) { delete static_cast< pseudo_Mapping * >( pMapping ); } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_Mapping_acquire( uno_Mapping * pMapping ) { if (1 == osl_atomic_increment( & static_cast< pseudo_Mapping * >( pMapping )->nRef )) @@ -198,7 +198,7 @@ static void SAL_CALL pseudo_Mapping_acquire( uno_Mapping * pMapping ) aMappingPurpose.pData ); } } -//-------------------------------------------------------------------------------------------------- + static void SAL_CALL pseudo_Mapping_release( uno_Mapping * pMapping ) { if (! osl_atomic_decrement( & static_cast< pseudo_Mapping * >( pMapping )->nRef )) @@ -207,7 +207,7 @@ static void SAL_CALL pseudo_Mapping_release( uno_Mapping * pMapping ) } } -//__________________________________________________________________________________________________ + pseudo_Mapping::pseudo_Mapping( uno_ExtEnvironment * pFrom_, uno_ExtEnvironment * pTo_ ) : nRef( 1 ) , pFrom( pFrom_ ) @@ -220,7 +220,7 @@ pseudo_Mapping::pseudo_Mapping( uno_ExtEnvironment * pFrom_, uno_ExtEnvironment uno_Mapping::release = pseudo_Mapping_release; uno_Mapping::mapInterface = pseudo_Mapping_mapInterface; } -//__________________________________________________________________________________________________ + pseudo_Mapping::~pseudo_Mapping() { (*((uno_Environment *)pTo)->release)( (uno_Environment *)pTo ); |