diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-27 11:15:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-28 09:25:05 +0000 |
commit | bdda683ed7e0db5dce14e39215eba198523aae70 (patch) | |
tree | 5be9daced3c22a93d5c55f88ed21fd925a7864e9 /sc | |
parent | 722c82b018327c1f9578ddc533ebbb06080848eb (diff) |
coverity#735463 Dead default in switch
Change-Id: I422f11f1ccda36c00e00775b32772c1e827b6686
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/workbookfragment.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index 170348fae63e..69a9c90c513b 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -444,8 +444,9 @@ void WorkbookFragment::finalizeImport() case SHEETTYPE_CHARTSHEET: xFragment.set( new ChartsheetFragment( *xSheetGlob, aFragmentPath ) ); break; - default: - OSL_ENSURE( false, "WorkbookFragment::finalizeImport - unexpected sheet type" ); + case SHEETTYPE_EMPTYSHEET: + case SHEETTYPE_MODULESHEET: + break; } // insert the fragment into the map |