diff options
Diffstat (limited to 'unotools/source/misc/desktopterminationobserver.cxx')
-rw-r--r-- | unotools/source/misc/desktopterminationobserver.cxx | 15 |
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: */ |