summaryrefslogtreecommitdiff
path: root/framework/inc/dispatch/interceptionhelper.hxx
diff options
context:
space:
mode:
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