From 61eed5f1b9889ba3b6c0e484f0847cdf52ab3871 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Jul 2013 16:06:20 +0200 Subject: convert sfx2 UNO services to WeakImplHelper ...removing the SFX_ UNO-related macros as a result. Change-Id: I56542885847ff0adc604f309ed7e2582b7529f3f --- sfx2/source/control/unoctitm.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sfx2/source/control/unoctitm.cxx') diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 8ee5335d39b9..d7a60bfc9969 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -89,9 +89,6 @@ const char* URLTypeNames[URLType_COUNT] = "double" }; -SFX_IMPL_XINTERFACE_2( SfxUnoControllerItem, OWeakObject, ::com::sun::star::frame::XStatusListener, ::com::sun::star::lang::XEventListener ) -SFX_IMPL_XTYPEPROVIDER_2( SfxUnoControllerItem, ::com::sun::star::frame::XStatusListener, ::com::sun::star::lang::XEventListener ) - SfxUnoControllerItem::SfxUnoControllerItem( SfxControllerItem *pItem, SfxBindings& rBind, const String& rCmd ) : pCtrlItem( pItem ) , pBindings( &rBind ) @@ -277,10 +274,6 @@ void SAL_CALL SfxStatusDispatcher::dispatchWithNotification( { } -SFX_IMPL_XINTERFACE_2( SfxStatusDispatcher, OWeakObject, ::com::sun::star::frame::XNotifyingDispatch, ::com::sun::star::frame::XDispatch ) -SFX_IMPL_XTYPEPROVIDER_2( SfxStatusDispatcher, ::com::sun::star::frame::XNotifyingDispatch, ::com::sun::star::frame::XDispatch ) -//IMPLNAME "com.sun.star.comp.sfx2.StatusDispatcher", - SfxStatusDispatcher::SfxStatusDispatcher() : aListeners( aMutex ) { @@ -305,10 +298,6 @@ void SAL_CALL SfxStatusDispatcher::removeStatusListener( const ::com::sun::star: aListeners.removeInterface( aURL.Complete, aListener ); } -SFX_IMPL_XINTERFACE_1( SfxOfficeDispatch, SfxStatusDispatcher, ::com::sun::star::lang::XUnoTunnel ) -SFX_IMPL_XTYPEPROVIDER_2( SfxOfficeDispatch, ::com::sun::star::frame::XNotifyingDispatch, ::com::sun::star::lang::XUnoTunnel ) - - //------------------------------------------------------------------------- // XUnoTunnel sal_Int64 SAL_CALL SfxOfficeDispatch::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) -- cgit v1.2.3