diff options
author | Henry Castro <hcastro@collabora.com> | 2021-04-01 17:07:04 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2021-04-12 22:53:47 +0200 |
commit | 47eaa8cf7d0f64c0deb3b0fa2e9f81ce83bb8b86 (patch) | |
tree | b164ae3b7fde48910a74d206700f97fcf3aacf63 /accessibility | |
parent | 6bf034f349c9d8d139dddcc18c88209b7be2cb42 (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114020
Tested-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 1ff6fae2abd7..e9ca2b1f7b4b 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(); } } |