diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2023-06-01 16:24:58 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2023-06-05 08:19:14 +0200 |
commit | 5ec593ac096395c9915e16acc1a2699432d10af5 (patch) | |
tree | 4f4f3fa6c2ab0fe733c9686069c11f83653288e5 /sw | |
parent | 1f09bab0d033953542d17987e1de56cebfa3497b (diff) |
Update a11y check after quick fix actions
Change-Id: Ie2f9a38ece130bc0cdafedf2c188c4c755233eba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152501
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/AccessibilityCheck.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/access/AccessibilityIssue.cxx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx index 4502eae1a01c..1766052b5d44 100644 --- a/sw/source/core/access/AccessibilityCheck.cxx +++ b/sw/source/core/access/AccessibilityCheck.cxx @@ -119,6 +119,7 @@ class NoTextNodeAltTextCheck : public NodeCheck pIssue->setDoc(pNoTextNode->GetDoc()); pIssue->setIssueObject(IssueObject::GRAPHIC); pIssue->setObjectID(pNoTextNode->GetFlyFormat()->GetName()); + pIssue->setNode(pNoTextNode); } } diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index 81072800d42d..7f09b9d7cf05 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx @@ -13,6 +13,7 @@ #include <drawdoc.hxx> #include <edtwin.hxx> #include <IDocumentDrawModelAccess.hxx> +#include <OnlineAccessibilityCheck.hxx> #include <swtypes.hxx> #include <wrtsh.hxx> #include <docsh.hxx> @@ -145,6 +146,8 @@ void AccessibilityIssue::quickFixIssue() const default: break; } + if (m_pNode) + m_pDoc->getOnlineAccessibilityCheck()->resetAndQueue(m_pNode); } } // end sw namespace |