[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Sat Jul 22 13:51:05 UTC 2017


 sw/source/uibase/inc/idxmrk.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7dc86ea81ae26b972c52448ee367c9ea5d8d92b4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jul 22 14:13:25 2017 +0200

    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 at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

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,


More information about the Libreoffice-commits mailing list