[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source
Caolán McNamara
caolanm at redhat.com
Thu Jul 27 20:19:56 UTC 2017
sc/source/ui/Accessibility/AccessibleDocument.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 09716380e12ac2b7119afff20033ce2e7929ebd8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 27 15:07:06 2017 +0100
Related: tdf#106872 amount of a11y selection listeners constantly grows
so it gets progressively slower
Change-Id: Ib53c69231c902d064b939be096e0dbeab2f0fc71
Reviewed-on: https://gerrit.libreoffice.org/40493
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 79b1a48b6378..664f0cf951aa 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -394,6 +394,8 @@ ScChildrenShapes::~ScChildrenShapes()
if (pDrawBC)
EndListening(*pDrawBC);
}
+ if (mpAccessibleDocument && xSelectionSupplier.is())
+ xSelectionSupplier->removeSelectionChangeListener(mpAccessibleDocument);
}
void ScChildrenShapes::SetDrawBroadcaster()
More information about the Libreoffice-commits
mailing list