summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-02-05 11:10:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-02-05 15:01:48 +0100
commit0ce7c84cc7b3f53a56a70586f73d7615f68ec1dc (patch)
tree410bb933b09711440bed16f006f2556140d5ce7f /xmlhelp
parentcb4ba42fbf421a17a8ba0e32ef09add928f2b694 (diff)
Revert "Fix typo in code"
This reverts commit 3ed9bba283a6a67864c0928186e277240be0d9ba. osl_Pos_Absolut (include/osl/file.h) is part of the stable URE interface; it must not be changed. Change-Id: I1f49923a9351e4be5aee39b10720d38b424feb9b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110435 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 73d5f0e2f9ed..8eaebf364320 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -143,7 +143,7 @@ XInputStream_impl::seek( sal_Int64 location )
{
if( location < 0 )
throw lang::IllegalArgumentException();
- if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolute, sal_uInt64( location ) ) )
+ if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolut, sal_uInt64( location ) ) )
throw io::IOException();
}
@@ -175,7 +175,7 @@ XInputStream_impl::getLength()
if( err != osl::FileBase::E_None )
throw io::IOException();
- err = m_aFile.setPos( osl_Pos_Absolute, uCurrentPos );
+ err = m_aFile.setPos( osl_Pos_Absolut, uCurrentPos );
if( err != osl::FileBase::E_None )
throw io::IOException();