summaryrefslogtreecommitdiff
path: root/svgio/source
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2023-06-20 19:02:20 +0200
committerLászló Németh <nemeth@numbertext.org>2023-06-21 09:52:56 +0200
commit993e420e3b89193b14c8289abcaecca9a90fc42f (patch)
treec469c27a11ee666b213a4cb264cea4e8e8fde918 /svgio/source
parente68259e0bd757ef2a2be94207b9766125a1fb017 (diff)
tdf#155951 sw: fix crash using XTextRange::getString() in selectionChanged()
XTextRange::getString() triggered selection change event, resulting infinite recursion, when getString() used in selectionChanged() of the listener. Steps to reproduce (used by the unit test, too): Add a XSelectionChangeListener to the document with a selectionChanged() calling the getString() of the selected text range. Select a word in the document editor using the Ctrl-Shift-arrow keys. Change-Id: I87a0f60cee3663f5303d6eb6980058ccdcc373e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153356 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'svgio/source')
0 files changed, 0 insertions, 0 deletions