diff options
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 413fa9618e92..a9004590e754 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -686,6 +686,7 @@ void SAL_CALL SfxDispatchController_Impl::dispatch( const ::com::sun::star::util // rListener->dispatchFinished potentially calls // framework::Desktop::terminate -> SfxApplication::Deinitialize -> // ~CntItemPool: + if (pDispatcher) { SfxAllItemSet aInternalSet( SFX_APP()->GetPool() ); if (xFrameRef.is()) // an empty set is no problem ... but an empty frame reference can be a problem ! |