summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-10-01 13:55:53 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-10-01 13:55:53 +0000
commit5d489437e50611b38f4a99b350fceda0e8b32b85 (patch)
tree6983a4c4973294af1f33dddaaa08bd89903612cb /ucb
parent667db85f79fecd27f703a4267b7bc3d04a9799dc (diff)
#92549# - XSeekable::seek interface MUST change.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/NeonInputStream.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/NeonInputStream.cxx b/ucb/source/ucp/webdav/NeonInputStream.cxx
index 83a59efc9602..ed36116bf114 100644
--- a/ucb/source/ucp/webdav/NeonInputStream.cxx
+++ b/ucb/source/ucp/webdav/NeonInputStream.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: NeonInputStream.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kso $ $Date: 2001-09-12 10:03:35 $
+ * last change: $Author: kso $ $Date: 2001-10-01 14:55:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -208,10 +208,10 @@ void SAL_CALL NeonInputStream::seek( sal_Int64 location )
if ( location < 0 )
throw ::com::sun::star::lang::IllegalArgumentException();
- if ( location < mLen )
+ if ( location <= mLen )
mPos = location;
else
- mPos = mLen;
+ throw ::com::sun::star::lang::IllegalArgumentException();
}
// -------------------------------------------------------------------