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

New commits:
commit 3cacd6f17ca742b53450a4239680bc13b7ebb1e9
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Thu Aug 8 17:33:23 2024 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Thu Aug 22 15:17:26 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>
    (cherry picked from commit 204e39d0b6958f18b550acc4a99370700db51982)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171674
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/sw/source/core/access/AccessibilityCheck.cxx 
b/sw/source/core/access/AccessibilityCheck.cxx
index a035715ee3c2..ed920c521b56 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -774,7 +774,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