Kaydet (Commit) a8c9edff authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707994 Uninitialized pointer field

Change-Id: I667f93be72bd5d6cc68725b7cb5d97e30d8df521
üst 497603f8
...@@ -2413,11 +2413,15 @@ inline bool IsGreater( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) ...@@ -2413,11 +2413,15 @@ inline bool IsGreater( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 )
} }
ScUsedAreaIterator::ScUsedAreaIterator( ScDocument* pDocument, SCTAB nTable, ScUsedAreaIterator::ScUsedAreaIterator( ScDocument* pDocument, SCTAB nTable,
SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) : SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 )
aCellIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ), : aCellIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 )
aAttrIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 ), , aAttrIter( pDocument, nTable, nCol1, nRow1, nCol2, nRow2 )
nNextCol( nCol1 ), , nNextCol( nCol1 )
nNextRow( nRow1 ) , nNextRow( nRow1 )
, nFoundStartCol( 0 )
, nFoundEndCol( 0 )
, nFoundRow( 0 )
, pFoundPattern( NULL )
{ {
pCell = aCellIter.GetNext( nCellCol, nCellRow ); pCell = aCellIter.GetNext( nCellCol, nCellRow );
pPattern = aAttrIter.GetNext( nAttrCol1, nAttrCol2, nAttrRow ); pPattern = aAttrIter.GetNext( nAttrCol1, nAttrCol2, nAttrRow );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment