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

New commits:
commit bf33b996b95d29ed39b29a7c0a0f7f74a09bce66
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Jan 21 11:22:17 2026 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Jan 21 14:45:54 2026 +0100

    background color should start initialized to COL_AUTO
    
    Change-Id: I09ad8f22f7ea6236d4a0b2a842571c32c2d0684b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197732
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index 479abbb42681..27623b8b4a6d 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -4788,7 +4788,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