diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-21 19:42:38 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-23 12:40:11 +0200 |
commit | 069569e4a095f2fe42e94c2dad15356e2038727a (patch) | |
tree | 9f6eceb3f8343311fa50de5c63bb828b1f7df373 /sw/inc | |
parent | 3f92b781400c47ead0fa535d19ec33e6273be2ab (diff) |
tdf#156116 - A11Y - fix object name does not update in accessibility sidebar
when we modify the name on the Navigator sidebar.
Update the related accessibility issue after we modify the name on the sidebar.
Change-Id: I8f4b8780ff1ffe7cfb86ff837c9579d6b785b832
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155904
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/OnlineAccessibilityCheck.hxx | 4 | ||||
-rw-r--r-- | sw/inc/node.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/OnlineAccessibilityCheck.hxx b/sw/inc/OnlineAccessibilityCheck.hxx index 1055c7e67d53..1e320554f8fc 100644 --- a/sw/inc/OnlineAccessibilityCheck.hxx +++ b/sw/inc/OnlineAccessibilityCheck.hxx @@ -57,7 +57,7 @@ private: void runAccessibilityCheck(SwNode* pNode); void updateStatusbar(); - void updateNodeStatus(SwNode* pContentNode); + void updateNodeStatus(SwNode* pContentNode, bool bIssueObjectNameChanged = false); void initialCheck(); void lookForPreviousNodeAndUpdate(SwPosition const& rNewPos); void clearAccessibilityIssuesFromAllNodes(); @@ -66,7 +66,7 @@ private: public: OnlineAccessibilityCheck(SwDoc& rDocument); void update(SwPosition const& rNewPos); - void resetAndQueue(SwNode* pNode); + void resetAndQueue(SwNode* pNode, bool bIssueObjectNameChanged = false); void resetAndQueueDocumentLevel(); void updateCheckerActivity(); sal_Int32 getNumberOfAccessibilityIssues() { return m_nAccessibilityIssues; } diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 84e466dfefa0..79d1a3792935 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -336,7 +336,7 @@ public: return m_aAccessibilityCheckStatus; } - void resetAndQueueAccessibilityCheck(); + void resetAndQueueAccessibilityCheck(bool bIssueObjectNameChanged = false); private: SwNode( const SwNode & rNodes ) = delete; |