diff options
-rw-r--r-- | sc/source/core/data/documen7.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index bf0d38cb4ec9..28941db7c6d9 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -140,10 +140,10 @@ bool ScDocument::BroadcastHintInternal( const ScHint& rHint ) const ScAddress address(rHint.GetStartAddress()); SvtBroadcaster* pLastBC = nullptr; // Process all broadcasters for the given row range. - for( SCROW nRow = address.Row(); nRow < address.Row() + rHint.GetRowCount(); ++nRow ) + for( SCROW nRow = 0; nRow < rHint.GetRowCount(); ++nRow ) { ScAddress a(address); - a.SetRow(nRow); + a.SetRow(address.Row() + nRow); SvtBroadcaster* pBC = GetBroadcaster(a); if ( pBC && pBC != pLastBC ) { |