diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 13:24:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:37:58 +0000 |
commit | a8c9edffd4014485d84b50e0a403a34d8e63bb74 (patch) | |
tree | b0b7d90271446c70382956076c514785f97adf35 /sc | |
parent | 497603f8ffa3572de8e389ba258b64658ab32271 (diff) |
coverity#707994 Uninitialized pointer field
Change-Id: I667f93be72bd5d6cc68725b7cb5d97e30d8df521
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dociter.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx index 3a1e7d903cbc..70b2c83eeeb5 100644 --- a/sc/source/core/data/dociter.cxx +++ b/sc/source/core/data/dociter.cxx @@ -2413,11 +2413,15 @@ inline bool IsGreater( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) } ScUsedAreaIterator::ScUsedAreaIterator( ScDocument* pDocument, SCTAB nTable, - SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) : - aCellIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ), - aAttrIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ), - nNextCol( nCol1 ), - nNextRow( nRow1 ) + SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) + : aCellIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ) + , aAttrIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ) + , nNextCol( nCol1 ) + , nNextRow( nRow1 ) + , nFoundStartCol( 0 ) + , nFoundEndCol( 0 ) + , nFoundRow( 0 ) + , pFoundPattern( NULL ) { pCell = aCellIter.GetNext( nCellCol, nCellRow ); pPattern = aAttrIter.GetNext( nAttrCol1, nAttrCol2, nAttrRow ); |