summaryrefslogtreecommitdiff
path: root/sal/osl
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 /sal/osl
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 'sal/osl')
-rw-r--r--sal/osl/unx/file.cxx2
-rw-r--r--sal/osl/w32/file.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index f4d6b229c3f7..d8396f6279b6 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -1549,7 +1549,7 @@ oslFileError SAL_CALL osl_setFilePos(oslFileHandle Handle, sal_uInt32 uHow, sal_
FileHandle_Impl::Guard lock(&(pImpl->m_mutex));
switch (uHow)
{
- case osl_Pos_Absolute:
+ case osl_Pos_Absolut:
if (nOffset < 0)
return osl_File_E_INVAL;
break;
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx
index 1803121f503d..ca31d714dfef 100644
--- a/sal/osl/w32/file.cxx
+++ b/sal/osl/w32/file.cxx
@@ -976,7 +976,7 @@ oslFileError SAL_CALL osl_setFilePos(oslFileHandle Handle, sal_uInt32 uHow, sal_
FileHandle_Impl::Guard lock(&(pImpl->m_mutex));
switch (uHow)
{
- case osl_Pos_Absolute:
+ case osl_Pos_Absolut:
if (nOffset < 0)
return osl_File_E_INVAL;
break;