| commit | aa553e6906d2f5ac99d30395e0d02ca7d861a0b7 | [log] |
|---|---|---|
| author | Balazs Varga <balazs.varga.extern@allotropia.de> | Thu Jun 29 12:47:25 2023 +0200 |
| committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | Mon Jul 03 12:40:12 2023 +0200 |
| tree | f33356c18fb8a37b081de56e242f9a54e9e03f3d | |
| parent | 7bac5ef6388f5417febc172b3b79fe986752a837 [diff] |
tdf#156096 - A11Y - Fix moving the cursor from selected frame object after we 'GOTO' an a11y frame issue. Change-Id: Ia828b2ac72edfc2045090d22ccdf3f95d1877170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153742 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> (cherry picked from commit a6fc2f6c9a3dcfab2fce365c3e424c1b68f6fadd) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153847
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index feac634..ebda9a2 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx
@@ -62,7 +62,12 @@ void AccessibilityIssue::gotoIssue() const case IssueObject::OLE: { SwWrtShell* pWrtShell = m_pDoc->GetDocShell()->GetWrtShell(); pWrtShell->GotoFly(m_sObjectID, FLYCNTTYPE_ALL, true); bool bSelected = pWrtShell->GotoFly(m_sObjectID, FLYCNTTYPE_ALL, true); if (bSelected && pWrtShell->IsFrameSelected()) { pWrtShell->HideCursor(); pWrtShell->EnterSelFrameMode(); } if (comphelper::LibreOfficeKit::isActive()) pWrtShell->ShowCursor(); }