summaryrefslogtreecommitdiff
path: root/svl/source/notify
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-07-14 11:20:36 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-07-17 09:19:38 +0000
commite179af1576a7763f3aeb112a41a640057d02c4f0 (patch)
tree4b1b6246f1aa508c8d3ca8971d711c7d8020ae34 /svl/source/notify
parent4e0656ac0bc5be3306ad016a1a494577ad2ef8b8 (diff)
fdo#62475 removed pointless comments
Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6 Reviewed-on: https://gerrit.libreoffice.org/4901 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svl/source/notify')
-rw-r--r--svl/source/notify/brdcst.cxx9
-rw-r--r--svl/source/notify/broadcast.cxx6
-rw-r--r--svl/source/notify/hint.cxx2
-rw-r--r--svl/source/notify/isethint.cxx4
-rw-r--r--svl/source/notify/listener.cxx9
-rw-r--r--svl/source/notify/lstner.cxx10
-rw-r--r--svl/source/notify/smplhint.cxx2
7 files changed, 0 insertions, 42 deletions
diff --git a/svl/source/notify/brdcst.cxx b/svl/source/notify/brdcst.cxx
index b5a17cdcb281..1509a5213fb4 100644
--- a/svl/source/notify/brdcst.cxx
+++ b/svl/source/notify/brdcst.cxx
@@ -28,13 +28,10 @@
#include <svl/brdcst.hxx>
#include <algorithm>
-//====================================================================
DBG_NAME(SfxBroadcaster)
TYPEINIT0(SfxBroadcaster);
-//====================================================================
-//====================================================================
// broadcast immediately
void SfxBroadcaster::Broadcast( const SfxHint &rHint )
@@ -69,7 +66,6 @@ SfxBroadcaster::~SfxBroadcaster()
}
}
-//--------------------------------------------------------------------
// simple ctor of class SfxBroadcaster
@@ -78,7 +74,6 @@ SfxBroadcaster::SfxBroadcaster()
DBG_CTOR(SfxBroadcaster, 0);
}
-//--------------------------------------------------------------------
// copy ctor of class SfxBroadcaster
@@ -96,7 +91,6 @@ SfxBroadcaster::SfxBroadcaster( const SfxBroadcaster &rBC )
}
}
-//--------------------------------------------------------------------
// add a new SfxListener to the list
@@ -115,7 +109,6 @@ void SfxBroadcaster::AddListener( SfxListener& rListener )
m_Listeners.push_back(&rListener);
}
-//--------------------------------------------------------------------
// called, if no more listeners exists
@@ -124,7 +117,6 @@ void SfxBroadcaster::ListenersGone()
DBG_CHKTHIS(SfxBroadcaster,0);
}
-//--------------------------------------------------------------------
// forward a notification to all registered listeners
@@ -139,7 +131,6 @@ void SfxBroadcaster::Forward(SfxBroadcaster& rBC, const SfxHint& rHint)
}
}
-//--------------------------------------------------------------------
// remove one SfxListener from the list
diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx
index 47d1485d9210..4cdaa1425a60 100644
--- a/svl/source/notify/broadcast.cxx
+++ b/svl/source/notify/broadcast.cxx
@@ -24,10 +24,8 @@
#include <svl/smplhint.hxx>
-//====================================================================
TYPEINIT0(SvtBroadcaster);
-//====================================================================
// simple ctor of class SvtBroadcaster
@@ -36,7 +34,6 @@ SvtBroadcaster::SvtBroadcaster()
{
}
-//--------------------------------------------------------------------
// copy ctor of class SvtBroadcaster
@@ -51,7 +48,6 @@ SvtBroadcaster::SvtBroadcaster( const SvtBroadcaster &rBC )
} while( 0 != ( pLast = aIter.GoNext() ));
}
-//--------------------------------------------------------------------
// unregister all listeners
@@ -69,7 +65,6 @@ SvtBroadcaster::~SvtBroadcaster()
} while( 0 != ( pLast = aIter.GoNext() ));
}
-//--------------------------------------------------------------------
// broadcast immedeately
@@ -95,7 +90,6 @@ void SvtBroadcaster::Broadcast( const SfxHint &rHint )
}
}
-//--------------------------------------------------------------------
// called, if no more listeners exists
diff --git a/svl/source/notify/hint.cxx b/svl/source/notify/hint.cxx
index da0f929dbf43..28ef4e06d165 100644
--- a/svl/source/notify/hint.cxx
+++ b/svl/source/notify/hint.cxx
@@ -20,11 +20,9 @@
#include <svl/hint.hxx>
-//====================================================================
TYPEINIT0(SfxHint);
-//====================================================================
// virtual dtor for the typical base-class Hint
SfxHint::~SfxHint()
diff --git a/svl/source/notify/isethint.cxx b/svl/source/notify/isethint.cxx
index 26223851fe82..e8deae99b195 100644
--- a/svl/source/notify/isethint.cxx
+++ b/svl/source/notify/isethint.cxx
@@ -21,11 +21,9 @@
#include <svl/isethint.hxx>
#include <svl/itemset.hxx>
-//====================================================================
TYPEINIT1(SfxItemSetHint, SfxHint);
-//====================================================================
SfxItemSetHint::SfxItemSetHint( const SfxItemSet &rItemSet )
@@ -38,13 +36,11 @@ SfxItemSetHint::SfxItemSetHint( const SfxItemSet &rItemSet )
{
}
-//--------------------------------------------------------------------
SfxItemSetHint::~SfxItemSetHint()
{
delete _pItemSet;
}
-//--------------------------------------------------------------------
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svl/source/notify/listener.cxx b/svl/source/notify/listener.cxx
index 3a7d8ec33e63..fd8616df4f51 100644
--- a/svl/source/notify/listener.cxx
+++ b/svl/source/notify/listener.cxx
@@ -25,17 +25,14 @@
#include <svl/listeneriter.hxx>
-//====================================================================
TYPEINIT0(SvtListener);
-//====================================================================
// simple ctor of class SvtListener
SvtListener::SvtListener()
: pBrdCastLst( 0 )
{
}
-//--------------------------------------------------------------------
// copy ctor of class SvtListener
@@ -49,7 +46,6 @@ SvtListener::SvtListener( const SvtListener &rListener )
pLst = pLst->GetNext();
}
}
-//--------------------------------------------------------------------
// unregisteres the SvtListener from its SvtBroadcasters
@@ -58,7 +54,6 @@ SvtListener::~SvtListener()
EndListeningAll();
}
-//--------------------------------------------------------------------
// registeres at a specific SvtBroadcaster
@@ -78,7 +73,6 @@ sal_Bool SvtListener::StartListening( SvtBroadcaster& rBroadcaster )
return sal_True;
}
-//--------------------------------------------------------------------
// unregisteres at a specific SvtBroadcaster
@@ -103,7 +97,6 @@ sal_Bool SvtListener::EndListening( SvtBroadcaster& rBroadcaster )
return sal_False;
}
-//--------------------------------------------------------------------
// unregisteres all Broadcasters
@@ -120,7 +113,6 @@ void SvtListener::EndListeningAll()
pBrdCastLst = 0;
}
-//--------------------------------------------------------------------
sal_Bool SvtListener::IsListening( SvtBroadcaster& rBroadcaster ) const
{
@@ -134,7 +126,6 @@ sal_Bool SvtListener::IsListening( SvtBroadcaster& rBroadcaster ) const
return 0 != pLst;
}
-//--------------------------------------------------------------------
// base implementation of notification handler
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx
index 0e645ec3f9aa..a6946bcb543a 100644
--- a/svl/source/notify/lstner.cxx
+++ b/svl/source/notify/lstner.cxx
@@ -26,18 +26,15 @@
#include <svl/lstner.hxx>
#include <algorithm>
-//====================================================================
DBG_NAME(SfxListener)
TYPEINIT0(SfxListener);
-//====================================================================
// simple ctor of class SfxListener
SfxListener::SfxListener()
{
DBG_CTOR(SfxListener, 0);
}
-//--------------------------------------------------------------------
// copy ctor of class SfxListener
@@ -48,7 +45,6 @@ SfxListener::SfxListener( const SfxListener &rListener )
for ( sal_uInt16 n = 0; n < rListener.aBCs.size(); ++n )
StartListening( *rListener.aBCs[n] );
}
-//--------------------------------------------------------------------
// unregisters the SfxListener from its SfxBroadcasters
@@ -64,7 +60,6 @@ SfxListener::~SfxListener()
}
}
-//--------------------------------------------------------------------
// unregisters a specific SfxBroadcaster
@@ -75,7 +70,6 @@ void SfxListener::RemoveBroadcaster_Impl( SfxBroadcaster& rBroadcaster )
aBCs.erase( std::find( aBCs.begin(), aBCs.end(), &rBroadcaster ) );
}
-//--------------------------------------------------------------------
// registers a specific SfxBroadcaster
@@ -95,7 +89,6 @@ sal_Bool SfxListener::StartListening( SfxBroadcaster& rBroadcaster, sal_Bool bPr
return sal_False;
}
-//--------------------------------------------------------------------
// unregisters a specific SfxBroadcaster
@@ -115,7 +108,6 @@ sal_Bool SfxListener::EndListening( SfxBroadcaster& rBroadcaster, sal_Bool bAllD
return sal_True;
}
-//--------------------------------------------------------------------
// unregisters all Broadcasters
@@ -132,14 +124,12 @@ void SfxListener::EndListeningAll()
}
}
-//--------------------------------------------------------------------
sal_Bool SfxListener::IsListening( SfxBroadcaster& rBroadcaster ) const
{
return aBCs.end() != std::find( aBCs.begin(), aBCs.end(), &rBroadcaster );
}
-//--------------------------------------------------------------------
// base implementation of notification handler
diff --git a/svl/source/notify/smplhint.cxx b/svl/source/notify/smplhint.cxx
index 5d4e06a46404..a30e900f5264 100644
--- a/svl/source/notify/smplhint.cxx
+++ b/svl/source/notify/smplhint.cxx
@@ -20,11 +20,9 @@
#include <svl/smplhint.hxx>
-//====================================================================
TYPEINIT1(SfxSimpleHint, SfxHint);
-//====================================================================
// creates a SimpleHint with the type nId
SfxSimpleHint::SfxSimpleHint( sal_uLong nIdP )