diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-09 05:02:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-09 23:29:45 +0200 |
commit | 67b944c021703f82b62b1faeaa8665a630ab425f (patch) | |
tree | caab226db872d2013e6aa4804759974529e7fa7b /sc | |
parent | 67c7ef9525308341aed98ecf6ebd06c75cb90466 (diff) |
coverity#705449: comparing array against NULL
Change-Id: I92ba78e96ad4f7c4a661dd879a721e422b6d0d2e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/subtotalparam.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/core/data/subtotalparam.cxx b/sc/source/core/data/subtotalparam.cxx index 00c9bc1d1b52..b2e9b1bbd2df 100644 --- a/sc/source/core/data/subtotalparam.cxx +++ b/sc/source/core/data/subtotalparam.cxx @@ -162,8 +162,6 @@ bool ScSubTotalParam::operator==( const ScSubTotalParam& rOther ) const if ( bEqual && (nSubTotals[i] > 0) ) { - bEqual = (pSubTotals != NULL) && (pFunctions != NULL); - for (SCCOL j=0; (j<nSubTotals[i]) && bEqual; j++) { bEqual = bEqual |