diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-08-16 08:27:33 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-08-16 08:27:33 +0000 |
commit | 0f32a0915afb43eb66d6b4bb38af8f9b66faab33 (patch) | |
tree | 24d344fe51164af5a8609314337e7ca8cff96395 /sc/inc/dispuno.hxx | |
parent | Merge SRX643: 15.08.02 - 22:37:52 (diff) | |
download | core-0f32a0915afb43eb66d6b4bb38af8f9b66faab33.tar.gz core-0f32a0915afb43eb66d6b4bb38af8f9b66faab33.zip |
#102213# notice if the viewshell is closed (switching to preview)
Diffstat (limited to 'sc/inc/dispuno.hxx')
-rw-r--r-- | sc/inc/dispuno.hxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sc/inc/dispuno.hxx b/sc/inc/dispuno.hxx index 39d2e358003f..d585b7161b59 100644 --- a/sc/inc/dispuno.hxx +++ b/sc/inc/dispuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dispuno.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2001-07-18 10:17:27 $ + * last change: $Author: nn $ $Date: 2002-08-16 09:27:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,6 +73,10 @@ #include <cppuhelper/implbase2.hxx> #endif +#ifndef _SFXLSTNER_HXX //autogen +#include <svtools/lstner.hxx> +#endif + #ifndef _SVARRAY_HXX #include <svtools/svarray.hxx> #endif @@ -96,7 +100,8 @@ SV_DECL_PTRARR_DEL( XStatusListenerArr_Impl, XStatusListenerPtr, 4, 4 ); class ScDispatchProviderInterceptor : public cppu::WeakImplHelper2< com::sun::star::frame::XDispatchProviderInterceptor, - com::sun::star::lang::XEventListener> + com::sun::star::lang::XEventListener>, + public SfxListener { ScTabViewShell* pViewShell; @@ -119,6 +124,8 @@ public: ScDispatchProviderInterceptor(ScTabViewShell* pViewSh); virtual ~ScDispatchProviderInterceptor(); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + // XDispatchProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, @@ -151,7 +158,8 @@ public: class ScDispatch : public cppu::WeakImplHelper2< com::sun::star::frame::XDispatch, - com::sun::star::view::XSelectionChangeListener > + com::sun::star::view::XSelectionChangeListener >, + public SfxListener { ScTabViewShell* pViewShell; XStatusListenerArr_Impl aDataSourceListeners; @@ -163,6 +171,8 @@ public: ScDispatch(ScTabViewShell* pViewSh); virtual ~ScDispatch(); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + // XDispatch virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< |