diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-22 11:58:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-23 06:46:13 +0200 |
commit | b71e02dd5bfaaa490dc7f56eddf10c17681108b5 (patch) | |
tree | b406df81dd38fd967d3b900db6e034f1a15b50ee /svx/source | |
parent | 8f98a7c4e5b1f0b249c026577805a378b8a533d5 (diff) |
dispose() methods should clear their smart pointers
especiall the ref-counted ones
Change-Id: Ib3bb029043b1b923010ef4a47bfc377e1f569da7
Reviewed-on: https://gerrit.libreoffice.org/76102
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/form/fmscriptingenv.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 27260c0381ea..2f123a881f18 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -1069,6 +1069,7 @@ namespace svxform ::osl::MutexGuard aGuard( m_aMutex ); m_bDisposed = true; m_pScriptListener->dispose(); + m_pScriptListener.clear(); } |