summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-02-04 10:18:28 +0100
committerAndrea Gelmini <andrea.gelmini@gelma.net>2021-02-04 22:56:54 +0100
commit3ed9bba283a6a67864c0928186e277240be0d9ba (patch)
tree47d2bb70e269839cce5aa6645e0ad596faa64529 /ucb
parent955fd7d8dc9da29717371c8fcb25d9954ff975bd (diff)
Fix typo in code
Change-Id: Ib8b306a27d25a34e784aeeb72708b0d5d1511f3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110394 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filinpstr.cxx2
-rw-r--r--ucb/source/ucp/file/filrec.cxx2
-rw-r--r--ucb/source/ucp/file/filstr.cxx4
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
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");
}