Kaydet (Commit) 692c2640 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#120334 crash on ESC in position and size

Change-Id: I50421f01ca368ec4d074db4b0add2f08b7b3fc0d
Reviewed-on: https://gerrit.libreoffice.org/61448
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d70746d1
......@@ -113,6 +113,7 @@ class SvxSwPosSizeTabPage : public SfxTabPage
public:
SvxSwPosSizeTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs);
virtual void dispose() override;
virtual ~SvxSwPosSizeTabPage() override;
static VclPtr<SfxTabPage> Create( TabPageParent, const SfxItemSet* );
......
......@@ -595,6 +595,16 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(TabPageParent pParent, const SfxItemSet
SvxSwPosSizeTabPage::~SvxSwPosSizeTabPage()
{
disposeOnce();
}
void SvxSwPosSizeTabPage::dispose()
{
m_xWidthMF.reset();
m_xHeightMF.reset();
m_xHoriByMF.reset();
m_xVertByMF.reset();
SfxTabPage::dispose();
}
namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment