sc/source/core/data/patattr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 684658df943b9cb8e25e9727af1147d22e396078 Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Mon Feb 10 10:00:27 2025 +0100 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Mon Mar 10 09:06:44 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 diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx index f11cacb6c0b2..45b62fb1a01f 100644 --- a/sc/source/core/data/patattr.cxx +++ b/sc/source/core/data/patattr.cxx @@ -805,7 +805,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;