sw/source/core/doc/tblafmt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ef28443424f71e580406b9177255816f7f4a6e24 Author: Justin Luth <[email protected]> AuthorDate: Thu Oct 16 08:56:51 2025 -0400 Commit: Justin Luth <[email protected]> CommitDate: Thu Oct 16 18:03:13 2025 +0200 tdf#159028 sw: use COL_AUTO as font color for table styles Nice - in my testing an old LO shows COL_AUTO in the table, and old documents still show their black fonts after this change is made. Change-Id: I4e2c7b551828cffe9410a5e558633263e8dfcf30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192510 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx index 73f811491d63..819dd59d52ce 100644 --- a/sw/source/core/doc/tblafmt.cxx +++ b/sw/source/core/doc/tblafmt.cxx @@ -243,7 +243,7 @@ SwAutoFormatProps::SwAutoFormatProps() m_aCrossedOut = std::make_unique<SvxCrossedOutItem>(STRIKEOUT_NONE, RES_CHRATR_CROSSEDOUT ); m_aContour = std::make_unique<SvxContourItem>(false, RES_CHRATR_CONTOUR ); m_aShadowed = std::make_unique<SvxShadowedItem>(false, RES_CHRATR_SHADOWED ); - m_aColor = std::make_unique<SvxColorItem>(RES_CHRATR_COLOR ); + m_aColor = std::make_unique<SvxColorItem>(COL_AUTO, RES_CHRATR_COLOR ); m_aBox = std::make_unique<SvxBoxItem>(RES_BOX ); m_aTLBR = std::make_unique<SvxLineItem>(0 ); m_aBLTR = std::make_unique<SvxLineItem>(0 );
