sc/source/core/data/patattr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9c9cf0ed8045e4fb638b2c7d7db954dc4f601c01 Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Mon Feb 10 10:00:27 2025 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Mar 20 10:29:07 2025 +0100 Resolves tdf#165085 - Automatic font color on PDF document Patch 2ca381b31e40d516c5d79ce4e59cecbf9683b616 applies here too Change-Id: I82948ef4f8d8bc9312cc24692ff3471710543ddc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181327 Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Tested-by: Jenkins (cherry picked from commit 684658df943b9cb8e25e9727af1147d22e396078) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182719 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx index ae482de0becd..60225c17532a 100644 --- a/sc/source/core/data/patattr.cxx +++ b/sc/source/core/data/patattr.cxx @@ -832,7 +832,7 @@ void ScPatternAttr::fillColor(model::ComplexColor& rComplexColor, const SfxItemS aSysTextColor = ScModule::get()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor; } - if (comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current()) + if (SfxViewShell::Current()) { if (aBackColor.IsDark()) aColor = COL_WHITE;