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 /cli_ure/source/uno_bridge | |
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 'cli_ure/source/uno_bridge')
-rw-r--r-- | cli_ure/source/uno_bridge/cli_bridge.cxx | 18 | ||||
-rw-r--r-- | cli_ure/source/uno_bridge/cli_proxy.cxx | 14 |
2 files changed, 16 insertions, 16 deletions
diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx index 7a28582efcd5..8485317810e0 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.cxx +++ b/cli_ure/source/uno_bridge/cli_bridge.cxx @@ -44,7 +44,7 @@ void SAL_CALL Mapping_acquire( uno_Mapping * mapping ) Mapping const * that = static_cast< Mapping const * >( mapping ); that->m_bridge->acquire(); } -//-------------------------------------------------------------------------------------------------- + void SAL_CALL Mapping_release( uno_Mapping * mapping ) SAL_THROW_EXTERN_C() { @@ -53,7 +53,7 @@ void SAL_CALL Mapping_release( uno_Mapping * mapping ) } -//-------------------------------------------------------------------------------------------------- + void SAL_CALL Mapping_cli2uno( uno_Mapping * mapping, void ** ppOut, void * pIn, typelib_InterfaceTypeDescription * td ) @@ -93,7 +93,7 @@ void SAL_CALL Mapping_cli2uno( #endif } } -//-------------------------------------------------------------------------------------------------- + void SAL_CALL Mapping_uno2cli( uno_Mapping * mapping, void ** ppOut, void * pIn, typelib_InterfaceTypeDescription * td ) @@ -153,7 +153,7 @@ void SAL_CALL Mapping_uno2cli( } } -//__________________________________________________________________________________________________ + void SAL_CALL Bridge_free( uno_Mapping * mapping ) SAL_THROW_EXTERN_C() { @@ -167,7 +167,7 @@ void SAL_CALL Bridge_free( uno_Mapping * mapping ) namespace cli_uno { -//__________________________________________________________________________________________________ + /** ToDo I doubt that the case that the ref count raises from 0 to 1 can occur. uno_ext_getMapping returns an acquired mapping. Every time @@ -195,7 +195,7 @@ void Bridge::acquire() const SAL_THROW(()) } } } -//__________________________________________________________________________________________________ + void Bridge::release() const SAL_THROW(()) { if (! osl_atomic_decrement( &m_ref )) @@ -206,7 +206,7 @@ void Bridge::release() const SAL_THROW(()) : const_cast<Mapping*>(&m_uno2cli) ); } } -//__________________________________________________________________________________________________ + Bridge::Bridge( uno_Environment * uno_cli_env, uno_ExtEnvironment * uno_env, bool registered_cli2uno ) @@ -232,7 +232,7 @@ Bridge::Bridge( } -//__________________________________________________________________________________________________ + Bridge::~Bridge() SAL_THROW(()) { //System::GC::Collect(); @@ -249,7 +249,7 @@ extern "C" namespace cli_uno { -//-------------------------------------------------------------------------------------------------- + void SAL_CALL cli_env_disposing( uno_Environment * uno_cli_env ) SAL_THROW_EXTERN_C() { diff --git a/cli_ure/source/uno_bridge/cli_proxy.cxx b/cli_ure/source/uno_bridge/cli_proxy.cxx index 09bfe60931e8..092cdfc16efe 100644 --- a/cli_ure/source/uno_bridge/cli_proxy.cxx +++ b/cli_ure/source/uno_bridge/cli_proxy.cxx @@ -41,16 +41,16 @@ using namespace cli_uno; extern "C" { -//------------------------------------------------------------------------------ + void SAL_CALL cli_proxy_free( uno_ExtEnvironment * env, void * proxy ) SAL_THROW_EXTERN_C(); -//------------------------------------------------------------------------------ + void SAL_CALL cli_proxy_acquire( uno_Interface * pUnoI ) SAL_THROW_EXTERN_C(); -//------------------------------------------------------------------------------ + void SAL_CALL cli_proxy_release( uno_Interface * pUnoI ) SAL_THROW_EXTERN_C(); -//------------------------------------------------------------------------------ + void SAL_CALL cli_proxy_dispatch( uno_Interface * pUnoI, typelib_TypeDescription const * member_td, void * uno_ret, void * uno_args[], uno_Any ** uno_exc ) @@ -911,7 +911,7 @@ inline void CliProxy::acquire() const #endif } } -//--------------------------------------------------------------------------- + inline void CliProxy::release() const { if (0 == osl_atomic_decrement( &m_ref )) @@ -947,7 +947,7 @@ void SAL_CALL cli_proxy_acquire( uno_Interface * pUnoI ) CliProxy const * cliProxy = static_cast< CliProxy const * >( pUnoI ); cliProxy->acquire(); } -//----------------------------------------------------------------------------- + extern "C" void SAL_CALL cli_proxy_release( uno_Interface * pUnoI ) SAL_THROW_EXTERN_C() @@ -956,7 +956,7 @@ void SAL_CALL cli_proxy_release( uno_Interface * pUnoI ) cliProxy->release(); } -//------------------------------------------------------------------------------ + extern "C" void SAL_CALL cli_proxy_dispatch( |