From c0a802b59e1edddeb0b621e15137f5058299efd7 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 10 Apr 2015 10:44:13 +0100 Subject: Audit and correct misc. clears -> disposeAndClears. Anything that used to be 'delete'd should be disposeAndCleared() in the new world. --- formula/source/ui/dlg/formula.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 73afd345a1df..5e2f38825752 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -364,9 +364,9 @@ FormulaDlg_Impl::~FormulaDlg_Impl() m_pTabCtrl->RemovePage(TP_FUNCTION); m_pTabCtrl->RemovePage(TP_STRUCT); - pStructPage.clear(); - pFuncPage.clear(); - pParaWin.clear(); + pStructPage.disposeAndClear(); + pFuncPage.disposeAndClear(); + pParaWin.disposeAndClear(); DeleteArgs(); } -- cgit