diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 17:26:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 17:26:51 +0100 |
commit | f05c37d3fdc8ef6839c6ebe43ae1a375f3073def (patch) | |
tree | 5bee51ea4abba0b618e17add55a7a38ac90d3999 /sc | |
parent | 13d64505214c33555dfbd61dbd9a177906df4981 (diff) |
-Werror,-Wshadow
Change-Id: Ia03dc71a3d4e4380258e7f8d2ebc3c9f32d83493
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table3.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 769b20db1258..b9584e484027 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -1153,14 +1153,16 @@ void ScTable::SortReorderByRowRefUpdate( rSrc.transfer(nRow1, nRow2, rDest, nRow1); } - sc::BroadcasterStoreType& rSrc = aSortedCols[i].maBroadcasters; - sc::BroadcasterStoreType& rDest = aCol[nThisCol].maBroadcasters; + { + sc::BroadcasterStoreType& rSrc = aSortedCols[i].maBroadcasters; + sc::BroadcasterStoreType& rDest = aCol[nThisCol].maBroadcasters; - // Release current broadcasters first, to prevent them from getting deleted. - rDest.release_range(nRow1, nRow2); + // Release current broadcasters first, to prevent them from getting deleted. + rDest.release_range(nRow1, nRow2); - // Transfer sorted broadcaster segment to the document. - rSrc.transfer(nRow1, nRow2, rDest, nRow1); + // Transfer sorted broadcaster segment to the document. + rSrc.transfer(nRow1, nRow2, rDest, nRow1); + } { sc::CellNoteStoreType& rSrc = aSortedCols[i].maCellNotes; |