summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen7.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index dc511a58fcb3..45c9416e77db 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -157,10 +157,15 @@ void ScDocument::BroadcastCells( const ScRange& rRange, sal_uLong nHint )
ScConditionalFormatList* pCondFormList = GetCondFormList(nTab);
if (pCondFormList)
{
+ ScAddress aAddress( 0, 0, nTab);
for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow)
{
+ aAddress.SetRow(nRow);
for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol)
- pCondFormList->SourceChanged(ScAddress(nCol,nRow,nTab));
+ {
+ aAddress.SetCol(nCol);
+ pCondFormList->SourceChanged(aAddress);
+ }
}
}
}