sc/source/core/data/table4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5a609bc2dc1d1b4c1b9215d9ac8f5f1ba0939569 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Mon Feb 5 12:29:40 2024 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Wed Feb 7 16:49:22 2024 +0100 tdf#158440: do not extend transparent color Avoid to extend the area of transparent colors. Signed-off-by: Henry Castro <hcas...@collabora.com> Change-Id: Ie492e6fea2c3d8b785cfbb96fe7cfc31d87b9996 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163030 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> (cherry picked from commit c44e12ddb952c78dd08aba1774863554d7ecc7fa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163023 Tested-by: Jenkins diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index 3ec8dc5aeab7..a9637584f7df 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -1314,7 +1314,7 @@ void ScTable::GetBackColorArea(SCCOL& rStartCol, SCROW& /*rStartRow*/, const ScPatternAttr* pPattern = ColumnData(nCol).GetPattern(rEndRow + 1); const SvxBrushItem* pBackground = &pPattern->GetItem(ATTR_BACKGROUND); if (!pPattern->GetItem(ATTR_CONDITIONAL).GetCondFormatData().empty() || - pBackground != pDefBackground) + (pBackground->GetColor() != COL_TRANSPARENT && pBackground != pDefBackground)) { bExtend = true; break;