sc/source/core/data/fillinfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit daccdd35d1ebf42c0f097cf229aa84ca6721570b Author: Andras Timar <[email protected]> AuthorDate: Thu Mar 5 14:04:36 2026 +0100 Commit: Andras Timar <[email protected]> CommitDate: Fri Mar 6 11:17:11 2026 +0100 fix wrong condition when overriding table style borders Check pExplicitLinesAttr instead of pExplicitBackground when deciding whether to override table style borders with explicit cell borders. This was a copy-paste error from the table styles implementation. Change-Id: I1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201031 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> (cherry picked from commit 275f0a1391f7b01b046c21a601053ad5cb3f26b8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201114 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index 2600a0c7ec58..454d39ee65f0 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -625,7 +625,7 @@ void ScDocument::FillInfo( pInfo->bFilterActive = bFilterActive; if (pInfo->maLinesAttr) { - if (pExplicitBackground) + if (pExplicitLinesAttr) { pInfo->maLinesAttr = SfxPoolItemHolder(*pPool, pExplicitLinesAttr); }
