Kaydet (Commit) 998e3d5c authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: tdf#106872 amount of a11y selection listeners constantly grows

so it gets progressively slower

Change-Id: Ib53c69231c902d064b939be096e0dbeab2f0fc71
Reviewed-on: https://gerrit.libreoffice.org/40490Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 2a4d015f
...@@ -380,6 +380,8 @@ ScChildrenShapes::~ScChildrenShapes() ...@@ -380,6 +380,8 @@ ScChildrenShapes::~ScChildrenShapes()
if (pDrawBC) if (pDrawBC)
EndListening(*pDrawBC); EndListening(*pDrawBC);
} }
if (mpAccessibleDocument && xSelectionSupplier.is())
xSelectionSupplier->removeSelectionChangeListener(mpAccessibleDocument);
} }
void ScChildrenShapes::SetDrawBroadcaster() void ScChildrenShapes::SetDrawBroadcaster()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment