diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-11 17:41:38 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-11 17:41:38 +0100 |
commit | c6fb78d5fd5f52384f4b959091f50da60ba4b37a (patch) | |
tree | fc51c1c7ee73952f8fd74b6f171f1395d6ee9695 /sfx2/source/view/frame.cxx | |
parent | e9696b975afeae970575cbd6bc782fbba484b2f3 (diff) |
disposeAndClear in place of DELETEZ.
Audit of DELETEZ usage in:
"vclwidget: change all vcl::window fields to be wrapped in VclPtr"
Change-Id: Ib65096a9edb09ce9381ab4a8297d9391d2603651
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r-- | sfx2/source/view/frame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index c65bc7bc532b..e77b4fbac79d 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -93,7 +93,7 @@ void SfxFrame::Construct_Impl() SfxFrame::~SfxFrame() { RemoveTopFrame_Impl( this ); - pWindow.clear(); + pWindow.disposeAndClear(); SfxFrameArr_Impl::iterator it = std::find( pFramesArr_Impl->begin(), pFramesArr_Impl->end(), this ); if ( it != pFramesArr_Impl->end() ) |