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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 195b4506bd54..4c64b59e1c50 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -124,6 +124,7 @@ void SmGraphicWindow::dispose() { if (mxAccessible.is()) mxAccessible->ClearWin(); // make Accessible nonfunctional + mxAccessible.clear(); CaretBlinkStop(); ScrollableWindow::dispose(); } |