diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-03-02 12:00:34 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-03-02 16:01:39 +0100 |
commit | b2bbccd2c825df522be1fc324f01f799cc78a682 (patch) | |
tree | 68a38aeebed46e09af43a3c9e20692dc61e2442b | |
parent | 76a9cfd5fa9e9ff2d0722153b104407255310dba (diff) |
lok: fix goto functionality in Accessibility Check dialog
Change-Id: Ie9ce42ccdb5cf6c72df3d3d48d3e7369f9e2f9cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130830
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r-- | sw/source/core/access/AccessibilityIssue.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index b15d22955a87..f8b8e3858013 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx @@ -11,6 +11,7 @@ #include <AccessibilityIssue.hxx> #include <wrtsh.hxx> #include <docsh.hxx> +#include <comphelper/lok.hxx> namespace sw { @@ -49,12 +50,16 @@ void AccessibilityIssue::gotoIssue() const { SwWrtShell* pWrtShell = m_pDoc->GetDocShell()->GetWrtShell(); pWrtShell->GotoFly(m_sObjectID, FLYCNTTYPE_ALL, true); + if (comphelper::LibreOfficeKit::isActive()) + pWrtShell->ShowCursor(); } break; case IssueObject::TABLE: { SwWrtShell* pWrtShell = m_pDoc->GetDocShell()->GetWrtShell(); pWrtShell->GotoTable(m_sObjectID); + if (comphelper::LibreOfficeKit::isActive()) + pWrtShell->ShowCursor(); } break; case IssueObject::TEXT: @@ -70,6 +75,8 @@ void AccessibilityIssue::gotoIssue() const pPaM->SetMark(); *pPaM->GetMark() = aMark; pWrtShell->EndAllAction(); + if (comphelper::LibreOfficeKit::isActive()) + pWrtShell->ShowCursor(); } break; default: |