diff options
Diffstat (limited to 'sc/source/filter/rtf')
-rw-r--r-- | sc/source/filter/rtf/eeimpars.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/rtf/rtfimp.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/rtf/rtfparse.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx index 0e6eab3bc56c..87b3a0426809 100644 --- a/sc/source/filter/rtf/eeimpars.cxx +++ b/sc/source/filter/rtf/eeimpars.cxx @@ -76,9 +76,9 @@ ScEEImport::~ScEEImport() // Is guaranteed as ScEEImport is base class } -sal_uLong ScEEImport::Read( SvStream& rStream, const OUString& rBaseURL ) +ErrCode ScEEImport::Read( SvStream& rStream, const OUString& rBaseURL ) { - sal_uLong nErr = mpParser->Read( rStream, rBaseURL ); + ErrCode nErr = mpParser->Read( rStream, rBaseURL ); SCCOL nEndCol; SCROW nEndRow; diff --git a/sc/source/filter/rtf/rtfimp.cxx b/sc/source/filter/rtf/rtfimp.cxx index bb269686b693..ecd86a537846 100644 --- a/sc/source/filter/rtf/rtfimp.cxx +++ b/sc/source/filter/rtf/rtfimp.cxx @@ -28,7 +28,7 @@ ErrCode ScFormatFilterPluginImpl::ScImportRTF( SvStream &rStream, const OUString& rBaseURL, ScDocument *pDoc, ScRange& rRange ) { ScRTFImport aImp( pDoc, rRange ); - ErrCode nErr = (ErrCode) aImp.Read( rStream, rBaseURL ); + ErrCode nErr = aImp.Read( rStream, rBaseURL ); ScRange aR = aImp.GetRange(); rRange.aEnd = aR.aEnd; aImp.WriteToDocument(); diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx index d5262fd13a16..523b2ef32c54 100644 --- a/sc/source/filter/rtf/rtfparse.cxx +++ b/sc/source/filter/rtf/rtfparse.cxx @@ -55,11 +55,11 @@ ScRTFParser::~ScRTFParser() maDefaultList.clear(); } -sal_uLong ScRTFParser::Read( SvStream& rStream, const OUString& rBaseURL ) +ErrCode ScRTFParser::Read( SvStream& rStream, const OUString& rBaseURL ) { Link<RtfImportInfo&,void> aOldLink = pEdit->GetRtfImportHdl(); pEdit->SetRtfImportHdl( LINK( this, ScRTFParser, RTFImportHdl ) ); - sal_uLong nErr = pEdit->Read( rStream, rBaseURL, EE_FORMAT_RTF ); + ErrCode nErr = pEdit->Read( rStream, rBaseURL, EE_FORMAT_RTF ); if ( nRtfLastToken == RTF_PAR ) { if ( !maList.empty() ) |