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 /forms/source/component/errorbroadcaster.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 'forms/source/component/errorbroadcaster.cxx')
-rw-r--r-- | forms/source/component/errorbroadcaster.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/errorbroadcaster.cxx b/forms/source/component/errorbroadcaster.cxx index f9a010ba112f..d90646f5f806 100644 --- a/forms/source/component/errorbroadcaster.cxx +++ b/forms/source/component/errorbroadcaster.cxx @@ -35,14 +35,14 @@ namespace frm //===================================================================== //= OErrorBroadcaster //===================================================================== - //--------------------------------------------------------------------- + OErrorBroadcaster::OErrorBroadcaster( ::cppu::OBroadcastHelper& _rBHelper ) :m_rBHelper( _rBHelper ) ,m_aErrorListeners( _rBHelper.rMutex ) { } - //--------------------------------------------------------------------- + OErrorBroadcaster::~OErrorBroadcaster( ) { SAL_WARN_IF( !m_rBHelper.bDisposed && !m_rBHelper.bInDispose, "forms.component", @@ -54,14 +54,14 @@ namespace frm // either we're not disposed, or the derived class did not call our dispose from within their dispose } - //--------------------------------------------------------------------- + void SAL_CALL OErrorBroadcaster::disposing() { EventObject aDisposeEvent( static_cast< XSQLErrorBroadcaster* >( this ) ); m_aErrorListeners.disposeAndClear( aDisposeEvent ); } - //------------------------------------------------------------------------------ + void SAL_CALL OErrorBroadcaster::onError( const SQLException& _rException, const OUString& _rContextDescription ) { Any aError; @@ -73,7 +73,7 @@ namespace frm onError( SQLErrorEvent( static_cast< XSQLErrorBroadcaster* >( this ), aError ) ); } - //------------------------------------------------------------------------------ + void SAL_CALL OErrorBroadcaster::onError( const ::com::sun::star::sdb::SQLErrorEvent& _rError ) { if ( m_aErrorListeners.getLength() ) @@ -85,13 +85,13 @@ namespace frm } } - //------------------------------------------------------------------------------ + void SAL_CALL OErrorBroadcaster::addSQLErrorListener( const Reference< XSQLErrorListener >& _rxListener ) throw( RuntimeException ) { m_aErrorListeners.addInterface( _rxListener ); } - //------------------------------------------------------------------------------ + void SAL_CALL OErrorBroadcaster::removeSQLErrorListener( const Reference< XSQLErrorListener >& _rxListener ) throw( RuntimeException ) { m_aErrorListeners.removeInterface( _rxListener ); |