| commit | a89d05840e59c41b6122d551e4dfc26fd3ee515f | [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 08:25:33 2023 +0200 |
| tree | 02149ced8b903c51ae99b3f604668bddbbfd2739 | |
| parent | e4e5fb4b2935e395c7e4b3a794d544a6f44709ce [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>
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index c7332f9..5776b3e 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx
@@ -61,7 +61,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(); }