sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 7d334ba7467d03e2d890e2926244f783d403878f Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Mon Jun 10 14:08:15 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Jun 11 03:15:43 2024 +0200 tdf#158914 sc a11y: Remember new cell text again commit 5f9a955042822d05af5c04b2c852738c7e1e21a2 Author: Michael Weghorn <m.wegh...@posteo.de> Date: Fri Jun 7 13:03:19 2024 +0200 tdf#158914 sc a11y: Send TEXT_CHANGED event when text changes had made sending a `AccessibleEventId::VALUE_CHANGED` event conditional on the cell having a *numerical* value. Assigning the new string to `m_strCurCellValue` should always happen independent of this, though, as this is the string value, not the numerical value. Thanks to Patrick Luby for noting the difference in [1]. [1] https://gerrit.libreoffice.org/c/core/+/167961/comment/1af95eb6_7db33e0b/ Change-Id: I1d1da2caeb7f2199251599313ec4412d7b6e47b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168635 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 39998fa7fee6..1c27bbc94d81 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -697,8 +697,9 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint AccessibleEventObject aEvent; aEvent.EventId = AccessibleEventId::VALUE_CHANGED; mpAccCell->CommitChange(aEvent); - m_strCurCellValue=valStr; } + + m_strCurCellValue = valStr; } OUString tabName; pScDoc->GetName( maActiveCell.Tab(), tabName );