summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-04-01 17:07:04 -0400
committerHenry Castro <hcastro@collabora.com>2021-04-12 22:53:47 +0200
commit47eaa8cf7d0f64c0deb3b0fa2e9f81ce83bb8b86 (patch)
treeb164ae3b7fde48910a74d206700f97fcf3aacf63 /accessibility
parentlok: draw bgcolor lines for covering client grid... (diff)
downloadcore-47eaa8cf7d0f64c0deb3b0fa2e9f81ce83bb8b86.tar.gz
core-47eaa8cf7d0f64c0deb3b0fa2e9f81ce83bb8b86.zip
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.cxx2
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();
}
}