sw/source/core/access/AccessibilityCheck.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit e894bdace448addd73c8f1aaf079c0e7ec84308d Author: Balazs Varga <balazs.varga.ext...@allotropia.de> AuthorDate: Wed Jul 5 20:29:50 2023 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Thu Jul 6 09:46:23 2023 +0200 tdf#156134 - Add "Go to" action for "Simulated numbering" issue type Change-Id: I92f7ae620eb0fd540c8919a4bbb9cae1d375a391 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154071 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx index 450f657e13e6..26f6b91328bd 100644 --- a/sw/source/core/access/AccessibilityCheck.cxx +++ b/sw/source/core/access/AccessibilityCheck.cxx @@ -306,8 +306,11 @@ public: OUString sNumbering = rPair.first + " " + rPair.second + "..."; OUString sIssueText = SwResId(STR_FAKE_NUMBERING).replaceAll("%NUMBERING%", sNumbering); - lclAddIssue(m_rIssueCollection, sIssueText, - sfx::AccessibilityIssueID::MANUAL_NUMBERING); + auto pIssue = lclAddIssue(m_rIssueCollection, sIssueText, + sfx::AccessibilityIssueID::MANUAL_NUMBERING); + pIssue->setIssueObject(IssueObject::TEXT); + pIssue->setDoc(pCurrent->GetDoc()); + pIssue->setNode(pCurrent); } } }