diff options
Diffstat (limited to 'sc/source/filter/oox/workbookfragment.cxx')
-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; |