editeng/source/editeng/impedit3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f000e023b8cbe3d7ef45f25d22e9fbf203e00369
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Jan 21 11:22:17 2026 +0000
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Mon Jan 26 12:16:35 2026 +0100

    background color should start initialized to COL_AUTO
    
    Change-Id: I09ad8f22f7ea6236d4a0b2a842571c32c2d0684b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197740
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>
    Signed-off-by: Xisco Fauli <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197919
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
    Tested-by: Christian Lohmaier <[email protected]>
    Reviewed-by: Christian Lohmaier <[email protected]>

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index b17a76116a34..86bef4d7ed6f 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -4755,7 +4755,7 @@ Color ImpEditEngine::GetAutoColor(const SvxFont* pFont) 
const
 {
     Color aColor;
 
-    Color aBackgroundColor;
+    Color aBackgroundColor(COL_AUTO);
     if (pFont) //check for char background color
         aBackgroundColor = pFont->GetFillColor();
     if (aBackgroundColor == COL_AUTO) // check for aother background (i.e: 
cell color)

Reply via email to