summaryrefslogtreecommitdiff
path: root/framework/inc/dispatch/interceptionhelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-19 13:38:53 +0200
committerNoel Grandin <noel@peralex.com>2013-07-23 10:05:46 +0200
commit376d5a6ad979ef2b3e90c186ca8ede0ef2824200 (patch)
treee504f14486204108d19270e1bd419294a292ce10 /framework/inc/dispatch/interceptionhelper.hxx
parent2f4c796c4db95a52b9478049e9872b92a93474b9 (diff)
convert more services in framework module to WeakImplHelper
Change-Id: I417ae2ce644f39fce0e8eb9fbe6a3a3c783b6227
Diffstat (limited to 'framework/inc/dispatch/interceptionhelper.hxx')
-rw-r--r--framework/inc/dispatch/interceptionhelper.hxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx
index 7e47e949f4db..38a83f9ff08e 100644
--- a/framework/inc/dispatch/interceptionhelper.hxx
+++ b/framework/inc/dispatch/interceptionhelper.hxx
@@ -36,7 +36,7 @@
#include <com/sun/star/frame/DispatchDescriptor.hpp>
#include <tools/wldcrd.hxx>
-#include <cppuhelper/weak.hxx>
+#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/weakref.hxx>
#include <deque>
@@ -51,12 +51,12 @@ namespace framework{
@attention Don't use this class as direct member - use it dynamicly. Do not derive from this class.
We hold a weakreference to ouer owner not to ouer superclass.
*/
-class InterceptionHelper : public css::frame::XDispatchProvider
- , public css::frame::XDispatchProviderInterception
- , public css::lang::XEventListener
- // order of base classes is important for right initialization of mutex member!
- , private ThreadHelpBase
- , public ::cppu::OWeakObject
+class InterceptionHelper : // order of base classes is important for right initialization of mutex member!
+ private ThreadHelpBase,
+ public ::cppu::WeakImplHelper3<
+ css::frame::XDispatchProvider,
+ css::frame::XDispatchProviderInterception,
+ css::lang::XEventListener >
{
//_____________________________________________________
// structs, helper
@@ -195,8 +195,6 @@ class InterceptionHelper : public css::frame::XDispatchProvider
public:
- FWK_DECLARE_XINTERFACE
-
//_________________________________________________
// XDispatchProvider