diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-30 18:19:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-30 18:19:34 +0200 |
commit | ac5ff992409944f6d2f828290b574261a691a0ed (patch) | |
tree | 0a87284883145b1b9aa3885fb080e84e812f8e23 /sw/source/uibase/inc/fldwrap.hxx | |
parent | c1a7994d64648c222de2785ca5f30c549ba3443c (diff) |
Dispose pDlgInterface member during destruction
Requires a VclPtr -> ScopedVclPtr assignment operator, similar to the existing
VclPtr -> ScopedVclPtr constructor.
Change-Id: I2b43967ee84f90eea20f8eaa17741229473752b1
Diffstat (limited to 'sw/source/uibase/inc/fldwrap.hxx')
-rw-r--r-- | sw/source/uibase/inc/fldwrap.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/fldwrap.hxx b/sw/source/uibase/inc/fldwrap.hxx index 0ebd58b45a45..0d8b58e7142c 100644 --- a/sw/source/uibase/inc/fldwrap.hxx +++ b/sw/source/uibase/inc/fldwrap.hxx @@ -25,7 +25,7 @@ class AbstractSwFieldDlg; class SwFieldDlgWrapper : public SwChildWinWrapper { public: - VclPtr<AbstractSwFieldDlg> pDlgInterface; + ScopedVclPtr<AbstractSwFieldDlg> pDlgInterface; SwFieldDlgWrapper( vcl::Window* pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ); @@ -39,7 +39,7 @@ public: class SwFieldDataOnlyDlgWrapper : public SwChildWinWrapper { public: - VclPtr<AbstractSwFieldDlg> pDlgInterface; + ScopedVclPtr<AbstractSwFieldDlg> pDlgInterface; SwFieldDataOnlyDlgWrapper( vcl::Window* pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ); |