summaryrefslogtreecommitdiff
path: root/svx/source/form/formdispatchinterceptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/formdispatchinterceptor.cxx')
-rw-r--r--svx/source/form/formdispatchinterceptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/formdispatchinterceptor.cxx b/svx/source/form/formdispatchinterceptor.cxx
index 8e11b18ae175..16e774f20373 100644
--- a/svx/source/form/formdispatchinterceptor.cxx
+++ b/svx/source/form/formdispatchinterceptor.cxx
@@ -55,7 +55,7 @@ namespace svxform
osl_atomic_increment(&m_refCount);
if (_rxToIntercept.is())
{
- _rxToIntercept->registerDispatchProviderInterceptor((XDispatchProviderInterceptor*)this);
+ _rxToIntercept->registerDispatchProviderInterceptor(static_cast<XDispatchProviderInterceptor*>(this));
// this should make us the top-level dispatch-provider for the component, via a call to our
// setDispatchProvider we should have got an fallback for requests we (i.e. our master) cannot fulfill
Reference< XComponent> xInterceptedComponent(_rxToIntercept, UNO_QUERY);