diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrec.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index 5838dcda39ac..7fa0b3b157c1 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -139,7 +139,7 @@ XInputStream_impl::seek( sal_Int64 location ) { if( location < 0 ) throw lang::IllegalArgumentException( THROW_WHERE, uno::Reference< uno::XInterface >(), 0 ); - if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolut, sal_uInt64( location ) ) ) + if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolute, sal_uInt64( location ) ) ) throw io::IOException( THROW_WHERE ); } diff --git a/ucb/source/ucp/file/filrec.cxx b/ucb/source/ucp/file/filrec.cxx index 5af520bc351d..2e0343ae59b6 100644 --- a/ucb/source/ucp/file/filrec.cxx +++ b/ucb/source/ucp/file/filrec.cxx @@ -74,7 +74,7 @@ bool ReconnectingFile::reconnect() { ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; - if ( uHow == osl_Pos_Absolut && uPos > 0 ) + if ( uHow == osl_Pos_Absolute && uPos > 0 ) { if ( m_bDisconnect ) { diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 3031510a6b7f..78e0fafcb207 100644 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -111,7 +111,7 @@ void SAL_CALL XStream_impl::truncate() if (osl::FileBase::E_None != m_aFile.setSize(0)) throw io::IOException( THROW_WHERE ); - if (osl::FileBase::E_None != m_aFile.setPos(osl_Pos_Absolut,sal_uInt64(0))) + if (osl::FileBase::E_None != m_aFile.setPos(osl_Pos_Absolute,sal_uInt64(0))) throw io::IOException( THROW_WHERE ); } @@ -232,7 +232,7 @@ XStream_impl::seek( sal_Int64 location ) { if( location < 0 ) throw lang::IllegalArgumentException( THROW_WHERE, uno::Reference< uno::XInterface >(), 0 ); - if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolut, sal_uInt64( location ) ) ) + if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolute, sal_uInt64( location ) ) ) throw io::IOException( THROW_WHERE ); } diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 74b77dec15be..78c6105c6c37 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -411,7 +411,7 @@ oslFileHandle FTPURL::open() if(err == CURLE_OK) { - oslFileError rc = osl_setFilePos( res, osl_Pos_Absolut, 0 ); + oslFileError rc = osl_setFilePos( res, osl_Pos_Absolute, 0 ); SAL_WARN_IF(rc != osl_File_E_None, "ucb.ucp.ftp", "osl_setFilePos failed"); } |