diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 10:15:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 14:58:00 +0000 |
commit | 12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (patch) | |
tree | b57ac6784ce892defa6d06fd5974318c8ffb6972 /sc/source/filter | |
parent | ea272d9fe4bf2dc7419f76e2ddee707d768ccd50 (diff) |
markup with event type not checker type
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/oox/workbookfragment.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index 8488b46de7e5..fd95bf65d3a5 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -328,7 +328,7 @@ void importSheetFragments( WorkbookFragment& rWorkbookHandler, SheetFragmentVect nSheetsLeft++; } - // coverity[infinite_loop] + // coverity[loop_top] - this isn't an infinite loop where nSheetsLeft gets decremented by the above threads while( nSheetsLeft > 0) { // This is a much more controlled re-enterancy hazard than @@ -438,6 +438,7 @@ void WorkbookFragment::finalizeImport() case SHEETTYPE_CHARTSHEET: xFragment.set( new ChartsheetFragment( *xSheetGlob, aFragmentPath ) ); break; + // coverity[dead_error_begin] - following conditions exist to avoid compiler warning case SHEETTYPE_EMPTYSHEET: case SHEETTYPE_MODULESHEET: break; |