sw/source/core/access/AccessibilityCheck.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0d8a10559ad40177725894bd3061bb464f4d1038
Author:     Saburo Yoshida <[email protected]>
AuthorDate: Thu Nov 20 13:48:38 2025 +0900
Commit:     Xisco Fauli <[email protected]>
CommitDate: Fri Nov 21 11:08:10 2025 +0100

    tdf#169508: fix reversed accessibility options for footnotes/endnotes
    
    The accessibility check options were reversed for footnotes and endnotes.
    
    Change-Id: I8db6546551b26d79726724199886098c3c00873c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194258
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit e4867c607d94ca0be002177c36ea135249f2de08)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194309
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/sw/source/core/access/AccessibilityCheck.cxx 
b/sw/source/core/access/AccessibilityCheck.cxx
index 41d6783d36bd..7488f03237ab 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -2621,8 +2621,8 @@ public:
             OUString sError = rFootnote.IsEndNote() ? 
SwResId(STR_AVOID_ENDNOTES)
                                                     : 
SwResId(STR_AVOID_FOOTNOTES);
             sfx::AccessibilityIssueID eIssueID = rFootnote.IsEndNote()
-                                                     ? 
sfx::AccessibilityIssueID::AVOID_FOOTNOTES
-                                                     : 
sfx::AccessibilityIssueID::AVOID_ENDNOTES;
+                                                     ? 
sfx::AccessibilityIssueID::AVOID_ENDNOTES
+                                                     : 
sfx::AccessibilityIssueID::AVOID_FOOTNOTES;
             auto pIssue = lclAddIssue(m_rIssueCollection, sError, eIssueID,
                                       sfx::AccessibilityIssueLevel::WARNLEV);
             pIssue->setDoc(*pDoc);

Reply via email to