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

New commits:
commit 1103b0bd28bb244386106c1561a8bc6022b4096c
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Wed Jan 22 09:47:41 2025 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Wed Jan 22 11:15:07 2025 +0100

    Also use Any <<= Color
    
    ...following up on b3d5a3d7a79715464cc221f5b0e5489b3c2b250e "tdf#75280: 
Convert
    sal_uIntPtr use to operator >>= Color."
    
    Change-Id: Ib1a4c311e083ce900ce527477fec355f62503571
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180573
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>
    Tested-by: Jenkins

diff --git a/sw/source/core/access/accpara.cxx 
b/sw/source/core/access/accpara.cxx
index 7427d6fefdcd..48e2ff5eac98 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -1895,8 +1895,8 @@ void SwAccessibleParagraph::_correctValues( const 
sal_Int32 nIndex,
                 if (xComponent.is())
                 {
                     Color cr(ColorTransparency, xComponent->getBackground());
-                    sal_uInt32 crUnderline = sal_uInt32(cr.IsDark() ? 
COL_WHITE : COL_BLACK);
-                    rValue.Value <<= crUnderline;
+                    underlineColor = cr.IsDark() ? COL_WHITE : COL_BLACK;
+                    rValue.Value <<= underlineColor;
                 }
             }
 

Reply via email to