summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-29 16:35:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-29 21:46:51 +0200
commit379a83359f93fa34799e116c38532f43d0534265 (patch)
treec5a236dac80eab1ce37451ed139940f6856ad15e
parent02a924831933d964cda209897bab27c48803c891 (diff)
Resolves: tdf#117712 closing help crashes
since... commit 9fa32e5dce345dea17129587c401c03520fb398b Date: Wed May 16 11:54:52 2018 +0200 fix leak of HelpListener_Impl in SfxHelpWindow_Impl Change-Id: I7e2cbb5d0c69e96fc7f2e1cc0c5563203c1f3dce Reviewed-on: https://gerrit.libreoffice.org/55025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sfx2/source/appl/newhelp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index ab95c195ec77..133502e6fef8 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -503,7 +503,7 @@ friend class SfxHelpIndexWindow_Impl;
VclPtr<SfxHelpIndexWindow_Impl> pIndexWin;
VclPtr<SfxHelpTextWindow_Impl> pTextWin;
HelpInterceptor_Impl* pHelpInterceptor;
- std::unique_ptr<HelpListener_Impl> pHelpListener;
+ rtl::Reference<HelpListener_Impl> pHelpListener;
sal_Int32 nExpandWidth;
sal_Int32 nCollapseWidth;