diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-14 19:05:35 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-15 15:01:18 +0200 |
commit | 54c158ff35ab5a0b5fa538562755638e052d51f2 (patch) | |
tree | ca39a34e0ca3138584e41fbf91cdf47c3ea523ca /sw/source | |
parent | 72b118e4cb7f97cbd296fd829a463fe9fafb8486 (diff) |
tdf#156741 - A11Y - fix drawing shape is not highlighted by clicking
"Avoid floating text" warning.
If GotoFly not select the textframe object try GotoDrawingObject.
Change-Id: Ica7829dd0cc21f3f1fb344dfb21afdfb43783cef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155676
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/access/AccessibilityIssue.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index 9da1952f95bc..6810cc05cdfc 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx @@ -74,6 +74,10 @@ void AccessibilityIssue::gotoIssue() const pWrtShell->HideCursor(); pWrtShell->EnterSelFrameMode(); } + + if (!bSelected && m_eIssueObject == IssueObject::TEXTFRAME) + pWrtShell->GotoDrawingObject(m_sObjectID); + if (comphelper::LibreOfficeKit::isActive()) pWrtShell->ShowCursor(); } |