sw/source/core/access/AccessibilityCheck.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 204e39d0b6958f18b550acc4a99370700db51982
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Thu Aug 8 17:33:23 2024 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Fri Aug 9 11:41:25 2024 +0200

    sw: AccessibilityCheck: check SwTextNode attr set even if hints exist
    
    This is required for testOnlineNodeSplitAppend if
    MoveTextAttr_To_AttrSet() is fixed.
    
    Change-Id: I2a8815b7426f468bd8a3cdec5dc6e03e6a9ac306
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171643
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/source/core/access/AccessibilityCheck.cxx 
b/sw/source/core/access/AccessibilityCheck.cxx
index 0939c16091c6..6708fc7f615e 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -973,7 +973,7 @@ public:
                 }
             }
         }
-        else if (pTextNode->HasSwAttrSet())
+        if (pTextNode->HasSwAttrSet())
         {
             // Paragraph doesn't have hints but the entire paragraph might 
have char attributes
             auto& aSwAttrSet = pTextNode->GetSwAttrSet();

Reply via email to