summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-13 15:06:22 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-13 15:10:32 +0100
commitc9f2abed2e8a618bdf1237c162cb2073bb7022e0 (patch)
tree7bb0157b473856818350a896afefe4af33244130 /sfx2/source/appl
parentc6fb78d5fd5f52384f4b959091f50da60ba4b37a (diff)
More lifecycle correction.
Another (complete) audit of delete usage in: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I828212ded66ecc5cc30c75a4de626c7b386cb77a
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/newhelp.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index e65a8a52f068..2c6d1613b7e1 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -3080,10 +3080,9 @@ SfxHelpWindow_Impl::~SfxHelpWindow_Impl()
void SfxHelpWindow_Impl::dispose()
{
SaveConfig();
- pIndexWin.clear();
-
+ pIndexWin.disposeAndClear();
pTextWin->CloseFrame();
- pTextWin.clear();
+ pTextWin.disposeAndClear();
SplitWindow::dispose();
}