tdf#163010 include GetPattern here

we are already at the column data level, no need to call via ScDocument

Change-Id: Ib8b0bc0f1fd9782229dc6c5240f87c086bdc970c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177777
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
This commit is contained in:
Noel Grandin 2024-12-04 09:28:28 +02:00
parent e4dbbcd7a5
commit 6f70663c32

View file

@ -2735,7 +2735,7 @@ void ScColumn::GetBackColorFilterEntries(SCROW nRow1, SCROW nRow2, ScFilterEntri
Color aBackColor;
bool bCondBackColor = false;
const ScPatternAttr* pPattern = rDoc.GetPattern(aCell.Col(), aCell.Row(), aCell.Tab());
const ScPatternAttr* pPattern = GetPattern(nRow1);
ScConditionalFormat* pCondFormat = rDoc.GetCondFormat(aCell.Col(), aCell.Row(), aCell.Tab());
if (pPattern)