diff options
author | Zdibák Zoltán <zdibakzoltan@gmail.com> | 2018-10-30 19:04:04 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-10-31 02:14:57 +0100 |
commit | 56901f69d484ebc3749b3b77aef99b0d4bfdd21e (patch) | |
tree | c1314fc4ad3831fc5957799eeaf4071cce69283c /sc | |
parent | 144416c428712b039927ff9d6b1eae05bc2c2478 (diff) |
RedundantAssignment variable aResult1
Change-Id: I9c8a40389cc9cc18a017f5ab98aa022856ef301d
Reviewed-on: https://gerrit.libreoffice.org/62642
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/markmulti.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/markmulti.cxx b/sc/source/core/data/markmulti.cxx index 52d8cb3cc07e..8dc8ab37e127 100644 --- a/sc/source/core/data/markmulti.cxx +++ b/sc/source/core/data/markmulti.cxx @@ -81,9 +81,9 @@ bool ScMultiSel::HasMarks( SCCOL nCol ) const bool ScMultiSel::HasOneMark( SCCOL nCol, SCROW& rStartRow, SCROW& rEndRow ) const { - bool aResult1 = false, aResult2 = false; + bool aResult2 = false; SCROW nRow1 = -1, nRow2 = -1, nRow3 = -1, nRow4 = -1; - aResult1 = aRowSel.HasOneMark( nRow1, nRow2 ); + bool aResult1 = aRowSel.HasOneMark( nRow1, nRow2 ); MapType::const_iterator aIter = aMultiSelContainer.find( nCol ); if ( aIter != aMultiSelContainer.end() ) aResult2 = aIter->second.HasOneMark( nRow3, nRow4 ); |