diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:13:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:13:01 +0000 |
commit | b841749cee4cde9e2b844e80485b91ade824c3f8 (patch) | |
tree | 31f847637cde74f0b8fd941e91ee3784da509639 /sfx2/source/appl/shutdownicon.cxx | |
parent | 0b2d507266f4ab16644e77ced55186ad77994af7 (diff) |
INTEGRATION: CWS warnings01 (1.42.66); FILE MERGED
2006/05/23 21:35:55 sb 1.42.66.2: RESYNC: (1.44-1.45); FILE MERGED
2005/11/28 16:13:30 cd 1.42.66.1: #i55991# Remove warnings
Diffstat (limited to 'sfx2/source/appl/shutdownicon.cxx')
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index b55e1ed34ef3..5f516244784d 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -4,9 +4,9 @@ * * $RCSfile: shutdownicon.cxx,v $ * - * $Revision: 1.45 $ + * $Revision: 1.46 $ * - * last change: $Author: vg $ $Date: 2006-04-06 15:30:59 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:13:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -124,14 +124,14 @@ public: virtual void SAL_CALL disposing( const EventObject& aEvent ) throw( RuntimeException ); }; -void SAL_CALL SfxNotificationListener_Impl::dispatchFinished( const DispatchResultEvent& aEvent ) throw( RuntimeException ) +void SAL_CALL SfxNotificationListener_Impl::dispatchFinished( const DispatchResultEvent& ) throw( RuntimeException ) { #ifdef WNT ShutdownIcon::LeaveModalMode(); #endif } -void SAL_CALL SfxNotificationListener_Impl::disposing( const EventObject& aEvent ) throw( RuntimeException ) +void SAL_CALL SfxNotificationListener_Impl::disposing( const EventObject& ) throw( RuntimeException ) { } @@ -172,6 +172,8 @@ void ShutdownIcon::SetAutostart( bool bActivate ) aShortcutName += OUString( RTL_CONSTASCII_USTRINGPARAM( ".lnk" ) ); SetAutostartW32( aShortcutName, bActivate ); +#else + (void)bActivate; // unused variable #endif } @@ -487,7 +489,7 @@ void SAL_CALL ShutdownIcon::disposing() // --------------------------------------------------------------------------- // XEventListener -void SAL_CALL ShutdownIcon::disposing( const ::com::sun::star::lang::EventObject& Source ) +void SAL_CALL ShutdownIcon::disposing( const ::com::sun::star::lang::EventObject& ) throw(::com::sun::star::uno::RuntimeException) { } @@ -495,7 +497,7 @@ void SAL_CALL ShutdownIcon::disposing( const ::com::sun::star::lang::EventObject // --------------------------------------------------------------------------- // XTerminateListener -void SAL_CALL ShutdownIcon::queryTermination( const ::com::sun::star::lang::EventObject& aEvent ) +void SAL_CALL ShutdownIcon::queryTermination( const ::com::sun::star::lang::EventObject& ) throw(::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno::RuntimeException) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -507,7 +509,7 @@ throw(::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno:: // --------------------------------------------------------------------------- -void SAL_CALL ShutdownIcon::notifyTermination( const ::com::sun::star::lang::EventObject& aEvent ) +void SAL_CALL ShutdownIcon::notifyTermination( const ::com::sun::star::lang::EventObject& ) throw(::com::sun::star::uno::RuntimeException) { } |