editeng/source/editeng/impedit3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 143a490293be92914ceda95d9a9e9b2672ad6f62 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Jan 21 11:22:17 2026 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Jan 22 21:28:54 2026 +0100 background color should start initialized to COL_AUTO Change-Id: I09ad8f22f7ea6236d4a0b2a842571c32c2d0684b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197733 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 7ab01100ed7b..dca12d95ba4f 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -4756,7 +4756,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)
