summaryrefslogtreecommitdiff
path: root/unotools/source/misc/desktopterminationobserver.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 /unotools/source/misc/desktopterminationobserver.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 'unotools/source/misc/desktopterminationobserver.cxx')
-rw-r--r--unotools/source/misc/desktopterminationobserver.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx
index 1aa7b32c0aca..55901ebc310f 100644
--- a/unotools/source/misc/desktopterminationobserver.cxx
+++ b/unotools/source/misc/desktopterminationobserver.cxx
@@ -77,17 +77,17 @@ namespace utl
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
};
- //--------------------------------------------------------------------
+
OObserverImpl::OObserverImpl()
{
}
- //--------------------------------------------------------------------
+
OObserverImpl::~OObserverImpl()
{
}
- //--------------------------------------------------------------------
+
void OObserverImpl::ensureObservation()
{
{
@@ -111,7 +111,7 @@ namespace utl
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OObserverImpl::queryTermination( const EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException)
{
Listeners aToNotify;
@@ -130,7 +130,7 @@ namespace utl
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OObserverImpl::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException)
{
// get the listeners
@@ -158,7 +158,7 @@ namespace utl
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OObserverImpl::disposing( const EventObject& /*Event*/ ) throw (RuntimeException)
{
#if OSL_DEBUG_LEVEL > 0
@@ -172,7 +172,7 @@ namespace utl
//====================================================================
//= DesktopTerminationObserver
//====================================================================
- //--------------------------------------------------------------------
+
void DesktopTerminationObserver::registerTerminationListener( ITerminationListener* _pListener )
{
if ( !_pListener )
@@ -192,7 +192,7 @@ namespace utl
OObserverImpl::ensureObservation();
}
- //--------------------------------------------------------------------
+
void DesktopTerminationObserver::revokeTerminationListener( ITerminationListener* _pListener )
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );