summaryrefslogtreecommitdiffstats
path: root/forms/source/helper/controlfeatureinterception.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/helper/controlfeatureinterception.cxx')
-rw-r--r--forms/source/helper/controlfeatureinterception.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/forms/source/helper/controlfeatureinterception.cxx b/forms/source/helper/controlfeatureinterception.cxx
index 5e79a5c65995..16fa4154935d 100644
--- a/forms/source/helper/controlfeatureinterception.cxx
+++ b/forms/source/helper/controlfeatureinterception.cxx
@@ -48,9 +48,8 @@ namespace frm
if ( m_xFirstDispatchInterceptor.is() )
{
// there is already an interceptor; the new one will become its master
- Reference< XDispatchProvider > xFirstProvider( m_xFirstDispatchInterceptor, UNO_QUERY );
- _rxInterceptor->setSlaveDispatchProvider( xFirstProvider );
- m_xFirstDispatchInterceptor->setMasterDispatchProvider( xFirstProvider );
+ _rxInterceptor->setSlaveDispatchProvider( m_xFirstDispatchInterceptor );
+ m_xFirstDispatchInterceptor->setMasterDispatchProvider( m_xFirstDispatchInterceptor );
}
// we are the master of the chain's first interceptor