editeng/source/editeng/impedit3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 73e7a4de2e48f1f1339b34e066c26d0ccee439a5 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Jan 21 11:22:17 2026 +0000 Commit: Andras Timar <[email protected]> CommitDate: Mon Jan 26 16:59:15 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]> (cherry picked from commit bf33b996b95d29ed39b29a7c0a0f7f74a09bce66) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198148 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index e122bba3e06e..c1f4c84386b5 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -4782,7 +4782,7 @@ Color ImpEditEngine::GetAutoColor(const SvxFont* pFont) const const SfxViewShell* pKitSh = comphelper::LibreOfficeKit::isActive() ? SfxViewShell::Current() : nullptr; if (pKitSh) { - Color aBackgroundColor; + Color aBackgroundColor(COL_AUTO); if (pFont) //check for char backgound color aBackgroundColor = pFont->GetFillColor(); if (aBackgroundColor == COL_AUTO) // check for aother backgound (i.e: cell color)
