summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2023-05-22 16:32:50 +0200
committerMarco Cecchetti <marco.cecchetti@collabora.com>2023-05-30 15:53:34 +0200
commitcd726ba43c22e723b243dd6dfd5e3c253e81000b (patch)
tree8135b59b2b5e03819e81d575fdead200b53d86dd /desktop
parent7066a4f8ca8a5a0e34766728f8a48ce2ef4823af (diff)
lok: a11y: paragraph notifyied on text change, even coming from another view
Debug code has been re-organized. Paragraph content is notifyied on any text change. That fixed issues related to fast typing. Paragraph content is also notified on text changed performed in another view. A paragraph is regarded as focused whenever the cursor position is valid. Change-Id: I33a187ced368b74824e55265be921804a492349c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152363 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 1472bbeb6747..560d6bf990b1 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6987,7 +6987,6 @@ static void doc_setViewTimezone(SAL_UNUSED_PARAMETER LibreOfficeKitDocument* /*p
static void doc_setAccessibilityState(SAL_UNUSED_PARAMETER LibreOfficeKitDocument* pThis, int nId, bool nEnabled)
{
SolarMutexGuard aGuard;
- SetLastExceptionMsg();
int nDocType = getDocumentType(pThis);
if (nDocType != LOK_DOCTYPE_TEXT)