summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/utlui/content.cxx1
-rw-r--r--sw/source/uibase/utlui/navipi.cxx10
2 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index f79b378abc98..d0c72c307a73 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -845,6 +845,7 @@ void SwContentTree::dispose()
Clear(); // If applicable erase content types previously.
bIsInDrag = false;
aUpdTimer.Stop();
+ SetActiveShell(0);
SvTreeListBox::dispose();
}
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 5c68de1433c5..051081b5210c 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -867,13 +867,13 @@ void SwNavigationPI::dispose()
if ( IsBound() )
rBindings.Release(*this);
- pPopupWindow.disposeAndClear();
pFloatingWindow.disposeAndClear();
- aContentToolBox.disposeAndClear();
- aGlobalToolBox.disposeAndClear();
- aContentTree.disposeAndClear();
- aGlobalTree.disposeAndClear();
+ pPopupWindow.disposeAndClear();
aDocListBox.disposeAndClear();
+ aGlobalTree.disposeAndClear();
+ aContentTree.disposeAndClear();
+ aGlobalToolBox.disposeAndClear();
+ aContentToolBox.disposeAndClear();
aPageChgIdle.Stop();