From 2b1772c5b8bd4aedbc7ec7a9a916ac8c8f975f34 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 17 Mar 2015 15:37:03 +0000 Subject: add missing disposeAndClear pieces for VclMEdit Also correct dispose ordering in dbaccess. --- sfx2/source/view/viewfrm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2/source/view/viewfrm.cxx') diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index f61969f753da..3ab9d13a05d7 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1489,7 +1489,8 @@ SfxViewFrame::~SfxViewFrame() // The Bindings delete the Frame! KillDispatcher_Impl(); - pImp->pWindow.clear(); + pImp->pWindow.disposeAndClear(); + pImp->pFocusWin.clear(); if ( GetFrame().GetCurrentViewFrame() == this ) GetFrame().SetCurrentViewFrame_Impl( NULL ); -- cgit