Kaydet (Commit) 15178933 authored tarafından Michael Meeks's avatar Michael Meeks

fix ilistbox dispose.

Change-Id: Icc5b6e924dfeec7a7da4f654d79b17fe91ce1418
üst 462f0ede
...@@ -74,7 +74,11 @@ ComboBox::~ComboBox() ...@@ -74,7 +74,11 @@ ComboBox::~ComboBox()
void ComboBox::dispose() void ComboBox::dispose()
{ {
mpSubEdit.disposeAndClear(); mpSubEdit.disposeAndClear();
mpImplLB.disposeAndClear();
VclPtr< ImplListBox > pImplLB = mpImplLB;
mpImplLB.clear();
pImplLB.disposeAndClear();
mpFloatWin.disposeAndClear(); mpFloatWin.disposeAndClear();
mpBtn.disposeAndClear(); mpBtn.disposeAndClear();
Edit::dispose(); Edit::dispose();
......
...@@ -2174,10 +2174,9 @@ ImplListBox::~ImplListBox() ...@@ -2174,10 +2174,9 @@ ImplListBox::~ImplListBox()
void ImplListBox::dispose() void ImplListBox::dispose()
{ {
mpHScrollBar.clear(); mpHScrollBar.disposeAndClear();
mpVScrollBar.clear(); mpVScrollBar.disposeAndClear();
mpScrollBarBox.clear(); mpScrollBarBox.disposeAndClear();
maLBWindow.clear();
maLBWindow.disposeAndClear(); maLBWindow.disposeAndClear();
Control::dispose(); Control::dispose();
} }
......
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