summaryrefslogtreecommitdiffstats
path: root/forms/source/richtext/featuredispatcher.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 /forms/source/richtext/featuredispatcher.cxx
parentfdo#70414: Use correct target names for building Visual Studio projects. (diff)
downloadcore-0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf.tar.gz
core-0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf.zip
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/richtext/featuredispatcher.cxx')
-rw-r--r--forms/source/richtext/featuredispatcher.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/forms/source/richtext/featuredispatcher.cxx b/forms/source/richtext/featuredispatcher.cxx
index bc7d66af02a8..47fc1375d2f2 100644
--- a/forms/source/richtext/featuredispatcher.cxx
+++ b/forms/source/richtext/featuredispatcher.cxx
@@ -32,7 +32,7 @@ namespace frm
//====================================================================
//= ORichTextFeatureDispatcher
//====================================================================
- //--------------------------------------------------------------------
+
ORichTextFeatureDispatcher::ORichTextFeatureDispatcher( EditView& _rView, const URL& _rURL )
:m_aFeatureURL( _rURL )
,m_aStatusListeners( m_aMutex )
@@ -41,7 +41,7 @@ namespace frm
{
}
- //--------------------------------------------------------------------
+
ORichTextFeatureDispatcher::~ORichTextFeatureDispatcher( )
{
if ( !m_bDisposed )
@@ -51,7 +51,7 @@ namespace frm
}
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::dispose()
{
EventObject aEvent( *this );
@@ -62,13 +62,13 @@ namespace frm
disposing( aGuard );
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::disposing( ::osl::ClearableMutexGuard& /*_rClearBeforeNotify*/ )
{
m_pEditView = NULL;
}
- //--------------------------------------------------------------------
+
void SAL_CALL ORichTextFeatureDispatcher::addStatusListener( const Reference< XStatusListener >& _rxControl, const URL& _rURL ) throw (RuntimeException)
{
OSL_ENSURE( !m_bDisposed, "ORichTextFeatureDispatcher::addStatusListener: already disposed!" );
@@ -84,19 +84,19 @@ namespace frm
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL ORichTextFeatureDispatcher::removeStatusListener( const Reference< XStatusListener >& _rxControl, const URL& /*_rURL*/ ) throw (RuntimeException)
{
m_aStatusListeners.removeInterface( _rxControl );
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::invalidate()
{
invalidateFeatureState_Broadcast();
}
- //--------------------------------------------------------------------
+
FeatureStateEvent ORichTextFeatureDispatcher::buildStatusEvent() const
{
FeatureStateEvent aEvent;
@@ -107,7 +107,7 @@ namespace frm
return aEvent;
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::invalidateFeatureState_Broadcast()
{
FeatureStateEvent aEvent( buildStatusEvent() );
@@ -116,13 +116,13 @@ namespace frm
doNotify( static_cast< XStatusListener* >( aIter.next() ), aEvent );
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::newStatusListener( const Reference< XStatusListener >& _rxListener )
{
doNotify( _rxListener, buildStatusEvent() );
}
- //--------------------------------------------------------------------
+
void ORichTextFeatureDispatcher::doNotify( const Reference< XStatusListener >& _rxListener, const FeatureStateEvent& _rEvent ) const SAL_THROW(())
{
OSL_PRECOND( _rxListener.is(), "ORichTextFeatureDispatcher::doNotify: invalid listener!" );