Resolves: tdf#100140 crash on exit of report design
This was triggered by This appears to be triggered by08cf2fd010
commit08cf2fd010
Author: Thorsten Behrens <Thorsten.Behrens@CIB.de> Date: Fri May 20 16:48:00 2016 +0200 which changed the order that things registered through registerDispatchProviderInterceptor are used by, so swap the order of registerDispatchProviderInterceptor calls here to sync with that Change-Id: I047e4c7f6cb488c646df717e22c8ac91864c3938
This commit is contained in:
@@ -840,11 +840,11 @@ uno::Reference< frame::XFrame > DocumentHolder::GetDocFrame()
|
|||||||
m_pInterceptor = new Interceptor( this );
|
m_pInterceptor = new Interceptor( this );
|
||||||
m_pInterceptor->acquire();
|
m_pInterceptor->acquire();
|
||||||
|
|
||||||
|
xInterception->registerDispatchProviderInterceptor( m_pInterceptor );
|
||||||
|
|
||||||
// register interceptor from outside
|
// register interceptor from outside
|
||||||
if ( m_xOutplaceInterceptor.is() )
|
if ( m_xOutplaceInterceptor.is() )
|
||||||
xInterception->registerDispatchProviderInterceptor( m_xOutplaceInterceptor );
|
xInterception->registerDispatchProviderInterceptor( m_xOutplaceInterceptor );
|
||||||
|
|
||||||
xInterception->registerDispatchProviderInterceptor( m_pInterceptor );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Reference< util::XCloseBroadcaster > xCloseBroadcaster( m_xFrame, uno::UNO_QUERY );
|
uno::Reference< util::XCloseBroadcaster > xCloseBroadcaster( m_xFrame, uno::UNO_QUERY );
|
||||||
|
Reference in New Issue
Block a user