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 /sdext | |
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 'sdext')
-rw-r--r-- | sdext/source/pdfimport/filterdet.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/test/pdfunzip.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx index 7e6e72f4d707..c072c964dad7 100644 --- a/sdext/source/pdfimport/filterdet.cxx +++ b/sdext/source/pdfimport/filterdet.cxx @@ -142,7 +142,7 @@ bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen if( nOrigOffset + nLen > m_nReadLen ) return false; - if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolut, nOrigOffset ) != osl_File_E_None ) + if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolute, nOrigOffset ) != osl_File_E_None ) return false; uno::Sequence< sal_Int8 > aSeq( nLen ); @@ -167,7 +167,7 @@ unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned return 0; if( osl_setFilePos( m_aReadHandle, - osl_Pos_Absolut, + osl_Pos_Absolute, nOrigOffset ) != osl_File_E_None ) { return 0; diff --git a/sdext/source/pdfimport/test/pdfunzip.cxx b/sdext/source/pdfimport/test/pdfunzip.cxx index a4d93c611d7d..58169c0ebd08 100644 --- a/sdext/source/pdfimport/test/pdfunzip.cxx +++ b/sdext/source/pdfimport/test/pdfunzip.cxx @@ -181,7 +181,7 @@ bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen if( nOrigOffset + nLen > m_nReadLen ) return false; - if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolut, nOrigOffset ) != osl_File_E_None ) + if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolute, nOrigOffset ) != osl_File_E_None ) { fprintf( stderr, "could not seek to offset %u\n", nOrigOffset ); return false; @@ -207,7 +207,7 @@ unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned if( nOrigOffset + nLen > m_nReadLen ) return 0; - if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolut, nOrigOffset ) != osl_File_E_None ) + if( osl_setFilePos( m_aReadHandle, osl_Pos_Absolute, nOrigOffset ) != osl_File_E_None ) { fprintf( stderr, "could not seek to offset %u\n", nOrigOffset ); return 0; |