summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-20 07:42:56 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-20 07:42:56 +0000
commit237f5ef6a7d998e2fcfa79a35b22a8e801ba7e3d (patch)
tree67c07c6182792b10aa5c45629d7a2efbacf8026d /sal/inc
parent20395ee03f752227072fdf2b8046ef88c8a92d36 (diff)
INTEGRATION: CWS ause011 (1.20.58); FILE MERGED
2004/08/18 11:47:53 sb 1.20.58.1: #i33153# Made getToken more robust.
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/rtl/ustring.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx
index 742bbc18ae6a..c9251895980e 100644
--- a/sal/inc/rtl/ustring.hxx
+++ b/sal/inc/rtl/ustring.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ustring.hxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: hr $ $Date: 2004-04-14 11:48:46 $
+ * last change: $Author: rt $ $Date: 2004-09-20 08:42:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1011,16 +1011,16 @@ public:
}
while ( nIndex >= 0 );
- @param token the number of the token to return. The number
- must be greater or equal as 0.
+ @param token the number of the token to return
@param cTok the character which seperate the tokens.
@param index the position at which the token is searched in the
string.
- The index must be greater or equal as 0 and
- less or equal as the length of the string.
+ The index must not be greater than the length of the
+ string.
This param is set to the position of the
next token or to -1, if it is the last token.
- @return the token
+ @return the token; if either token or index is negative, an empty token
+ is returned (and index is set to -1)
*/
OUString getToken( sal_Int32 token, sal_Unicode cTok, sal_Int32& index ) const SAL_THROW(())
{