summaryrefslogtreecommitdiff
path: root/cppuhelper/source/exc_thrower.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /cppuhelper/source/exc_thrower.cxx
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (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 'cppuhelper/source/exc_thrower.cxx')
-rw-r--r--cppuhelper/source/exc_thrower.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index 70a227410cf5..0e18f5d070d0 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -67,12 +67,12 @@ struct ExceptionThrower : public uno_Interface, XExceptionThrower
extern "C"
{
-//------------------------------------------------------------------------------
+
static void SAL_CALL ExceptionThrower_acquire_release_nop(
SAL_UNUSED_PARAMETER uno_Interface * )
{}
-//------------------------------------------------------------------------------
+
static void SAL_CALL ExceptionThrower_dispatch(
uno_Interface * pUnoI, typelib_TypeDescription const * pMemberType,
void * pReturn, void * pArgs [], uno_Any ** ppException )
@@ -131,7 +131,7 @@ static void SAL_CALL ExceptionThrower_dispatch(
} // extern "C"
-//______________________________________________________________________________
+
Any ExceptionThrower::queryInterface( Type const & type )
throw (RuntimeException)
{
@@ -145,29 +145,29 @@ Any ExceptionThrower::queryInterface( Type const & type )
return Any();
}
-//______________________________________________________________________________
+
void ExceptionThrower::acquire() throw ()
{
}
-//______________________________________________________________________________
+
void ExceptionThrower::release() throw ()
{
}
-//______________________________________________________________________________
+
void ExceptionThrower::throwException( Any const & exc ) throw (Exception)
{
OSL_FAIL( "unexpected!" );
throwException( exc );
}
-//______________________________________________________________________________
+
void ExceptionThrower::rethrowException() throw (Exception)
{
throw;
}
-//______________________________________________________________________________
+
inline ExceptionThrower::ExceptionThrower()
{
uno_Interface::acquire = ExceptionThrower_acquire_release_nop;