diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-10 10:50:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-20 15:22:48 +0100 |
commit | 11630ee201797946a155e26f44ae0d55d5abf573 (patch) | |
tree | 777a7cfd501f948f44d6cebbf59d07e32ff1d0aa /sd | |
parent | ecbcaca7f3f61d621ead45c5b63562772aaa452a (diff) |
config leaks: missing Disconnects
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/toolpanel/ToolPanelViewShell.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 17cbe0b6d9e2..1cbd814f85bd 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -171,6 +171,7 @@ SlideSorterViewShell::~SlideSorterViewShell (void) (void)e; OSL_FAIL("sd::SlideSorterViewShell::~SlideSorterViewShell(), exception caught!" ); } + GetFrameView()->Disconnect(); } diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx index d4c88166ae1c..47453fcedcb0 100644 --- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx +++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx @@ -556,6 +556,7 @@ ToolPanelViewShell::~ToolPanelViewShell() // disposed/destroyed, too mpImpl.reset(); GetViewShellBase().GetViewShellManager()->RemoveSubShellFactory(this, mpSubShellManager); + GetFrameView()->Disconnect(); } // --------------------------------------------------------------------------------------------------------------------- |