Kaydet (Commit) 3464c349 authored tarafından Andre Fischer's avatar Andre Fischer

122405: Sidebar panels no longer dispose XUIElement's inner objects.

üst c9e446d6
...@@ -91,13 +91,6 @@ void Panel::Dispose (void) ...@@ -91,13 +91,6 @@ void Panel::Dispose (void)
{ {
mxPanelComponent = NULL; 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); Reference<lang::XComponent> xComponent (mxElement, UNO_QUERY);
mxElement = NULL; mxElement = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment