summaryrefslogtreecommitdiff
path: root/unotools/source/misc/desktopterminationobserver.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-06 18:54:13 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-06 19:37:47 +0300
commit88bea0a5a8b1e5c1fb601f4e4ba61ba7bce38a3a (patch)
tree3efd83cf3c67f727f473b73da69e30963f08dc0f /unotools/source/misc/desktopterminationobserver.cxx
parentdcb88d170b6ced0ee805b787c1e9be820ff90d25 (diff)
Kill superfluous vertical whitespace
Change-Id: I949ba575951998d36cb4d38746f2182633046b3b
Diffstat (limited to 'unotools/source/misc/desktopterminationobserver.cxx')
-rw-r--r--unotools/source/misc/desktopterminationobserver.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx
index 42ef51c13dc0..90f9b459855b 100644
--- a/unotools/source/misc/desktopterminationobserver.cxx
+++ b/unotools/source/misc/desktopterminationobserver.cxx
@@ -26,11 +26,9 @@
#include <list>
-
namespace utl
{
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
@@ -49,14 +47,12 @@ namespace utl
ListenerAdminData() : bAlreadyTerminated( false ), bCreatedAdapter( false ) { }
};
-
ListenerAdminData& getListenerAdminData()
{
static ListenerAdminData s_aData;
return s_aData;
}
-
//= OObserverImpl
class OObserverImpl : public ::cppu::WeakImplHelper1< XTerminateListener >
@@ -77,17 +73,14 @@ namespace utl
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-
OObserverImpl::OObserverImpl()
{
}
-
OObserverImpl::~OObserverImpl()
{
}
-
void OObserverImpl::ensureObservation()
{
{
@@ -111,7 +104,6 @@ namespace utl
}
}
-
void SAL_CALL OObserverImpl::queryTermination( const EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException, std::exception)
{
Listeners aToNotify;
@@ -130,7 +122,6 @@ namespace utl
}
}
-
void SAL_CALL OObserverImpl::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException, std::exception)
{
// get the listeners
@@ -158,7 +149,6 @@ namespace utl
}
}
-
void SAL_CALL OObserverImpl::disposing( const EventObject& /*Event*/ ) throw (RuntimeException, std::exception)
{
#if OSL_DEBUG_LEVEL > 0
@@ -169,10 +159,8 @@ namespace utl
}
}
-
//= DesktopTerminationObserver
-
void DesktopTerminationObserver::registerTerminationListener( ITerminationListener* _pListener )
{
if ( !_pListener )
@@ -192,7 +180,6 @@ namespace utl
OObserverImpl::ensureObservation();
}
-
void DesktopTerminationObserver::revokeTerminationListener( ITerminationListener* _pListener )
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
@@ -210,8 +197,6 @@ namespace utl
}
}
-
} // namespace utl
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */