summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/excel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/excel.cxx')
-rw-r--r--sc/source/filter/excel/excel.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx
index 221f274f3038..c45bca6e26a8 100644
--- a/sc/source/filter/excel/excel.cxx
+++ b/sc/source/filter/excel/excel.cxx
@@ -217,10 +217,7 @@ ErrCode ScFormatFilterPluginImpl::ScExportExcel5( SfxMedium& rMedium, ScDocument
OSL_ENSURE( pMedStrm, "::ScExportExcel5 - medium without output stream" );
if( !pMedStrm ) return SCERR_IMPORT_OPEN; // should not happen
- ErrCode eRet = SCERR_IMPORT_UNKNOWN_BIFF;
- if( eFormat == ExpBiff5 || eFormat == ExpBiff8 )
- eRet = lcl_ExportExcelBiff( rMedium, pDocument, pMedStrm, eFormat == ExpBiff8, eNach );
-
+ ErrCode eRet = lcl_ExportExcelBiff(rMedium, pDocument, pMedStrm, eFormat == ExpBiff8, eNach);
return eRet;
}