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:34 +0200
commit509df47d2165fd08a7e0d270cade28ff52da532e (patch)
treed68db896fff254c2ae7a077d32fc4544c23b72bd
parentf5af8615e40bca1a747695c8ca28675c4ab0d384 (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/55024 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;