summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-10-24 10:48:59 +0000
committerTino Rachui <tra@openoffice.org>2001-10-24 10:48:59 +0000
commit79217ec3839bf7bcc46be66b2c10050c97eacb57 (patch)
treec5acfc59c14e4be9d153e7c85f6f395aaedb7540 /sal
parent5bfb8b70f3a1f595ab4495b7d2dacfa2de34d1ae (diff)
#92635#false use of osl_setFilePos corrected
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/readline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/all/readline.c b/sal/osl/all/readline.c
index 3ca98de06303..7e8727eb59fe 100644
--- a/sal/osl/all/readline.c
+++ b/sal/osl/all/readline.c
@@ -2,9 +2,9 @@
*
* $RCSfile: readline.c,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tra $ $Date: 2001-10-24 10:55:17 $
+ * last change: $Author: tra $ $Date: 2001-10-24 11:48:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -195,7 +195,7 @@ oslFileError SAL_CALL osl_readLine( oslFileHandle Handle, sal_Sequence** ppSeq )
else /* any other character */
{
/* correct the file pointer */
- ferr = osl_setFilePos( Handle, -1, osl_Pos_Current );
+ ferr = osl_setFilePos( Handle, osl_Pos_Current, -1 );
if ( ferr != osl_File_E_None )
{