diff options
-rw-r--r-- | sc/source/core/data/subtotalparam.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/core/data/subtotalparam.cxx b/sc/source/core/data/subtotalparam.cxx index 6fd8e18c6b0e..ae28606d3643 100644 --- a/sc/source/core/data/subtotalparam.cxx +++ b/sc/source/core/data/subtotalparam.cxx @@ -155,9 +155,8 @@ bool ScSubTotalParam::operator==( const ScSubTotalParam& rOther ) const { for (SCCOL j=0; (j<nSubTotals[i]) && bEqual; j++) { - bEqual = bEqual - && (pSubTotals[i][j] == rOther.pSubTotals[i][j]) - && (pFunctions[i][j] == rOther.pFunctions[i][j]); + bEqual = pSubTotals[i][j] == rOther.pSubTotals[i][j] + && pFunctions[i][j] == rOther.pFunctions[i][j]; } } } |