diff options
author | Andre Fischer <af@apache.org> | 2013-05-29 13:19:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-29 21:00:05 +0100 |
commit | 7e1c66163287eef13253d20639b9b2c78abf2580 (patch) | |
tree | 33ab9f46c6ee082b1343245f53ef5e5e59f16863 /sfx2 | |
parent | 10480649244213a6346bdb52192580f0b4ad6804 (diff) |
Resolves: #i122405# Sidebar panels no longer dispose...
XUIElement's inner objects
(cherry picked from commit 3464c3499e708370359a9c0864bd4edc76d3a4c0)
Change-Id: I860e09fe2436bb8a08458e4f49fb88f05d34dbd8
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 3b81121bf223..309dc04cb379 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -86,13 +86,6 @@ void Panel::Dispose (void) { mxPanelComponent = NULL; - if (mxElement.is()) - { - Reference<lang::XComponent> xComponent (mxElement->getRealInterface(), UNO_QUERY); - if (xComponent.is()) - xComponent->dispose(); - } - { Reference<lang::XComponent> xComponent (mxElement, UNO_QUERY); mxElement = NULL; |