diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:16:31 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:16:31 +0000 |
commit | ebd24bb90a6440184188d304b0a4996ab9b82564 (patch) | |
tree | 63619f3da389eb27419099d9abd5b3bd2c3d50ba /sal | |
parent | INTEGRATION: CWS sb79 (1.21.190); FILE MERGED (diff) | |
download | core-ebd24bb90a6440184188d304b0a4996ab9b82564.tar.gz core-ebd24bb90a6440184188d304b0a4996ab9b82564.zip |
INTEGRATION: CWS sb79 (1.30.30); FILE MERGED
2007/10/10 07:39:09 sb 1.30.30.1: #i82428# Fixed documentation.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index 3d0310e6f3f3..d1dd7a409525 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -4,9 +4,9 @@ * * $RCSfile: ustring.hxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: rt $ $Date: 2007-07-26 09:05:41 $ + * last change: $Author: ihi $ $Date: 2007-11-23 13:16:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -789,12 +789,14 @@ public: /** Returns the index within this string of the last occurrence of the - specified character, searching backward starting at the specified index. + specified character, searching backward starting before the specified + index. @param ch character to be located. + @param fromIndex the index before which to start the search. @return the index of the last occurrence of the character in the character sequence represented by this string that - is less or than or equal to fromIndex, or -1 + is less than fromIndex, or -1 if the character does not occur before that point. */ sal_Int32 lastIndexOf( sal_Unicode ch, sal_Int32 fromIndex ) const SAL_THROW(()) @@ -879,7 +881,8 @@ public: /** Returns the index within this string of the last occurrence of - the specified substring, searching backward starting at the end. + the specified substring, searching backward starting before the specified + index. The returned index indicates the starting index of the substring in this string. @@ -887,12 +890,11 @@ public: returned. This is also the case, if both strings are empty. @param str the substring to search for. - @param fromIndex the index to start the search from. + @param fromIndex the index before which to start the search. @return If the string argument occurs one or more times as a substring - within this string at the starting index, then the index + within this string before the starting index, then the index of the first character of the last such substring is - returned. If it does not occur as a substring starting - at fromIndex or earlier, -1 is returned. + returned. Otherwise, -1 is returned. */ sal_Int32 lastIndexOf( const OUString & str, sal_Int32 fromIndex ) const SAL_THROW(()) { |