diff options
author | Noel Grandin <noel@peralex.com> | 2013-07-19 13:38:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-07-23 10:05:46 +0200 |
commit | 376d5a6ad979ef2b3e90c186ca8ede0ef2824200 (patch) | |
tree | e504f14486204108d19270e1bd419294a292ce10 /framework/inc/dispatch/dispatchprovider.hxx | |
parent | 2f4c796c4db95a52b9478049e9872b92a93474b9 (diff) |
convert more services in framework module to WeakImplHelper
Change-Id: I417ae2ce644f39fce0e8eb9fbe6a3a3c783b6227
Diffstat (limited to 'framework/inc/dispatch/dispatchprovider.hxx')
-rw-r--r-- | framework/inc/dispatch/dispatchprovider.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index 777463b297ed..3a904a9c4345 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -38,7 +38,7 @@ #include <com/sun/star/frame/DispatchDescriptor.hpp> #include <com/sun/star/beans/PropertyValue.hpp> -#include <cppuhelper/weak.hxx> +#include <cppuhelper/implbase1.hxx> #include <cppuhelper/weakref.hxx> namespace framework{ @@ -78,14 +78,12 @@ enum EDispatchHelper @devstatus ready to use @threadsafe yes */ -class DispatchProvider : // interfaces - public css::lang::XTypeProvider , - public css::frame::XDispatchProvider , - // baseclasses +class DispatchProvider : // baseclasses // Order is necessary for right initialization! private ThreadHelpBase , private TransactionBase , - public ::cppu::OWeakObject + // interfaces + public ::cppu::WeakImplHelper1< css::frame::XDispatchProvider > { /* member */ private: @@ -100,8 +98,6 @@ class DispatchProvider : // interfaces /* interface */ public: - FWK_DECLARE_XINTERFACE - FWK_DECLARE_XTYPEPROVIDER DispatchProvider( const css::uno::Reference< css::uno::XComponentContext >& xContext , const css::uno::Reference< css::frame::XFrame >& xFrame ); |