summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/ViewShellBase.hxx
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2023-06-05 21:33:55 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-08-11 19:13:38 +0200
commit9de08c6f8f2b4150da628fe3e9311f5dc64137b0 (patch)
treefccd0f3985d23685605f420d804b86fe56a6e74d /sd/source/ui/inc/ViewShellBase.hxx
parent69972719542cd686687ddd91f2b5284483513608 (diff)
lok: a11y: get focused paragraph notified on document load
Usually, when the document is loaded, a CARET_CHANGED accessibility event is automatically emitted for the first paragraph. That allows to notify the paragraph content to the client, even if no input event occurred yet. However, in Cypress tests no accessibility event is automatically emitted until some input event occurs. So we use the workaround in this patch to notify the content of the focused paragraph, without waiting for an input event. (cherry picked from commit d6f929c03ca08a0c1134937a1ff1a42f75221e93) Change-Id: I8696c5f9ea069824614e9b541f4959b315dbda5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155575 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/source/ui/inc/ViewShellBase.hxx')
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index 3f40123405f3..c2b2d16158e0 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -217,8 +217,6 @@ public:
int getEditMode() const override;
/// See SfxViewShell::setEditMode().
void setEditMode(int nMode);
- /// See SfxViewShell::afterCallbackRegistered().
- void afterCallbackRegistered() override;
/// See SfxViewShell::NotifyCursor().
void NotifyCursor(SfxViewShell* pViewShell) const override;
/// See SfxViewShell::GetColorConfigColor().