diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-04 10:18:28 +0100 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-04 22:56:54 +0100 |
commit | 3ed9bba283a6a67864c0928186e277240be0d9ba (patch) | |
tree | 47d2bb70e269839cce5aa6645e0ad596faa64529 /ucb/source/ucp/file/filstr.cxx | |
parent | 955fd7d8dc9da29717371c8fcb25d9954ff975bd (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/source/ucp/file/filstr.cxx')
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |