You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2013/05/29 15:19:18 UTC

svn commit: r1487475 - /openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx

Author: af
Date: Wed May 29 13:19:17 2013
New Revision: 1487475

URL: http://svn.apache.org/r1487475
Log:
122405: Sidebar panels no longer dispose XUIElement's inner objects.

Modified:
    openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx

Modified: openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx?rev=1487475&r1=1487474&r2=1487475&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx (original)
+++ openoffice/trunk/main/sfx2/source/sidebar/Panel.cxx Wed May 29 13:19:17 2013
@@ -91,13 +91,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;