diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-07-22 14:13:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-22 15:50:16 +0200 |
commit | 7dc86ea81ae26b972c52448ee367c9ea5d8d92b4 (patch) | |
tree | 60727e781c6b7dfa383665fb85fa9616219e9090 | |
parent | 3b4fdb3f64a5db4ecfd38242c6b799c5d248a066 (diff) |
tdf#109271: Use ScopedVclPtr
so disposeAndClear is called
See https://bug-attachments.documentfoundation.org/attachment.cgi?id=134781
Change-Id: I5d9a3c4ddc73b303a36643a7d1111d8cc7da7006
Reviewed-on: https://gerrit.libreoffice.org/40306
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sw/source/uibase/inc/idxmrk.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/idxmrk.hxx b/sw/source/uibase/inc/idxmrk.hxx index c29252121c09..8e9848b40e4f 100644 --- a/sw/source/uibase/inc/idxmrk.hxx +++ b/sw/source/uibase/inc/idxmrk.hxx @@ -27,7 +27,7 @@ class SwWrtShell; class SwInsertIdxMarkWrapper : public SfxChildWindow { - VclPtr<AbstractMarkFloatDlg> pAbstDlg; + ScopedVclPtr<AbstractMarkFloatDlg> pAbstDlg; protected: SwInsertIdxMarkWrapper( vcl::Window *pParentWindow, sal_uInt16 nId, @@ -42,7 +42,7 @@ public: class SwInsertAuthMarkWrapper : public SfxChildWindow { - VclPtr<AbstractMarkFloatDlg> pAbstDlg; + ScopedVclPtr<AbstractMarkFloatDlg> pAbstDlg; protected: SwInsertAuthMarkWrapper( vcl::Window *pParentWindow, sal_uInt16 nId, |