summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.hxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-11-21 13:58:14 +0000
committerMathias Bauer <mba@openoffice.org>2001-11-21 13:58:14 +0000
commit2ab6c5e0b9bf8851fddd5fcfefc56f4c672d7d12 (patch)
tree922590a76989966051b55f43106726fd0f9f51aa /sfx2/source/appl/shutdownicon.hxx
parent369fb8e1d9a711c4475ee356916f7781748538eb (diff)
#88164#: Dispatching with ResultNotification
Diffstat (limited to 'sfx2/source/appl/shutdownicon.hxx')
-rw-r--r--sfx2/source/appl/shutdownicon.hxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index 7b2721cadb24..80439439c3b0 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -26,9 +26,6 @@
#ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HPP_
#include <com/sun/star/lang/XInitialization.hpp>
#endif
-#ifndef _COM_SUN_STAR_FRAME_XDISPATCHRESULTLISTENER_HPP_
-#include <com/sun/star/frame/XDispatchResultListener.hpp>
-#endif
#ifndef _RTL_STRING_HXX
#include <rtl/string.hxx>
#endif
@@ -41,16 +38,15 @@
#ifndef _SFX_SFXUNO_HXX
#include <sfxuno.hxx>
#endif
-#ifndef _CPPUHELPER_COMPBASE4_HXX_
-#include <cppuhelper/compbase4.hxx>
+#ifndef _CPPUHELPER_COMPBASE3_HXX_
+#include <cppuhelper/compbase3.hxx>
#endif
class ResMgr;
-typedef ::cppu::WeakComponentImplHelper4<
+typedef ::cppu::WeakComponentImplHelper3<
::com::sun::star::lang::XInitialization,
::com::sun::star::frame::XTerminateListener,
- ::com::sun::star::frame::XDispatchResultListener,
::com::sun::star::lang::XServiceInfo > ShutdownIconServiceBase;
class ShutdownIcon : public ShutdownIconServiceBase
@@ -78,7 +74,6 @@ class ShutdownIcon : public ShutdownIconServiceBase
SFX_DECL_XSERVICEINFO
-
static ShutdownIcon* getInstance();
static void terminateDesktop();
static void addTerminateListener();
@@ -108,10 +103,6 @@ class ShutdownIcon : public ShutdownIconServiceBase
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source )
throw(::com::sun::star::uno::RuntimeException);
- // XDispatchResultListener
- virtual void SAL_CALL dispatchFinished ( const ::com::sun::star::frame::DispatchResultEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException );
-
// XTerminateListener
virtual void SAL_CALL queryTermination( const ::com::sun::star::lang::EventObject& aEvent )
throw(::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno::RuntimeException);