sc/source/core/data/markmulti.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 56901f69d484ebc3749b3b77aef99b0d4bfdd21e
Author:     Zdibák Zoltán <zdibakzol...@gmail.com>
AuthorDate: Tue Oct 30 19:04:04 2018 +0100
Commit:     Markus Mohrhard <markus.mohrh...@googlemail.com>
CommitDate: Wed Oct 31 02:14:57 2018 +0100

    RedundantAssignment variable aResult1
    
    Change-Id: I9c8a40389cc9cc18a017f5ab98aa022856ef301d
    Reviewed-on: https://gerrit.libreoffice.org/62642
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    Tested-by: Jenkins

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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to