diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-25 17:24:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-26 10:09:29 +0200 |
commit | 7e87403953dfd54bf1e904ccc7436c6f327a9069 (patch) | |
tree | d2a5008cb8ced10076fe73a6cf8d4183b223354a /sc/source | |
parent | 1116d808c71c8429c10e2da36e851ac5a2816874 (diff) |
drop old SetBufferSize stuff
Change-Id: I16fc145a4d6378b1ca47cdd24caac9a8da913715
Reviewed-on: https://gerrit.libreoffice.org/43854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/excel.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx index 5f9addb25489..cd396d4c299d 100644 --- a/sc/source/filter/excel/excel.cxx +++ b/sc/source/filter/excel/excel.cxx @@ -121,8 +121,6 @@ ErrCode ScFormatFilterPluginImpl::ScImportExcel( SfxMedium& rMedium, ScDocument* ErrCode eRet = SCERR_IMPORT_UNKNOWN_BIFF; if( pBookStrm ) { - pBookStrm->SetBufferSize( 0x8000 ); // still needed? - XclImpRootData aImpData( eBiff, rMedium, xRootStrg, *pDocument, RTL_TEXTENCODING_MS_1252 ); std::unique_ptr< ImportExcel > xFilter; switch( eBiff ) @@ -169,9 +167,8 @@ static ErrCode lcl_ExportExcelBiff( SfxMedium& rMedium, ScDocument *pDocument, // open the "Book"/"Workbook" stream tools::SvRef<SotStorageStream> xStrgStrm = ScfTools::OpenStorageStreamWrite( xRootStrg, aStrmName ); - if( !xStrgStrm.is() || xStrgStrm->GetError() ) return SCERR_IMPORT_OPEN; - - xStrgStrm->SetBufferSize( 0x8000 ); // still needed? + if (!xStrgStrm.is() || xStrgStrm->GetError()) + return SCERR_IMPORT_OPEN; ErrCode eRet = SCERR_IMPORT_UNKNOWN_BIFF; XclExpRootData aExpData( bBiff8 ? EXC_BIFF8 : EXC_BIFF5, rMedium, xRootStrg, *pDocument, eNach ); |