summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/services/frame.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index e4d5655ca5f0..6c5a72fd4341 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1859,6 +1859,9 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
// We will die, die and die ...
implts_stopWindowListening();
+ if (m_xLayoutManager.is())
+ lcl_disableLayoutManager(m_xLayoutManager, this);
+
delete m_pWindowCommandDispatch;
// Send message to all listener and forget her references.