diff options
author | Henry Castro <hcastro@collabora.com> | 2021-04-01 17:07:04 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2021-04-08 13:58:11 +0200 |
commit | f153be729ed12ea301642e7d2551ec60b70a2a61 (patch) | |
tree | a4c2439d0870f0923c0beb333d53743a4ac9cbdb /accessibility | |
parent | c0936ba2474f199b7242e2ca0a2d460647bc339e (diff) |
lok: remove event listener when disposing
In order to prevent that the event listener
holds the object reference count when removed,
ensure they are removed when disposing the object.
Change-Id: I7cb4cb7d87acfc9610c2498760ade531456fe22e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113493
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx index 7827d686a3e8..d621e2e8bf64 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx @@ -329,7 +329,7 @@ namespace accessibility { if ( _rSource.Source == mxParent ) { - dispose(); + dispose(); } } |