From bdda683ed7e0db5dce14e39215eba198523aae70 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 27 Mar 2014 11:15:55 +0000 Subject: coverity#735463 Dead default in switch Change-Id: I422f11f1ccda36c00e00775b32772c1e827b6686 --- sc/source/filter/oox/workbookfragment.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sc') 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 -- cgit