Issue 82428 - Missing/wrong documentation of O[U]String::lastIndexOf
Summary: Missing/wrong documentation of O[U]String::lastIndexOf
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: documentation (show other issues)
Version: 680m231
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: daniel.rentz
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 09:53 UTC by daniel.rentz
Modified: 2007-12-18 09:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description daniel.rentz 2007-10-09 09:53:42 UTC
In the header documentation of the functions O[U]String::lastIndexOf
(sal/inc/rtl/string.hxx and sal/inc/rtl/ustring.hxx):

OString::lastIndexOf( sal_Char ch, sal_Int32 fromIndex ) const
OUString::lastIndexOf( sal_Unicode ch, sal_Int32 fromIndex ) const

- in leading description, replace "starting at the specified index" with
"starting before the specified index"
- missing @param fromIndex
- in @return, replace "is less or than or equal to" with "is less than"

OString::lastIndexOf( const OString & str, sal_Int32 fromIndex ) const
OUString::lastIndexOf( const OUString & str, sal_Int32 fromIndex ) const

- in leading description, replace "starting at the end" with "starting before
the specified index"
- in @param fromIndex, mention that search starts before fromIndex
- in @return, replace "at the starting index" with "before the starting index"
Comment 1 Stephan Bergmann 2007-10-10 08:40:24 UTC
sal/inc/rtl/string.hxx:1.21.190.1
sal/inc/rtl/ustring.hxx:1.30.30.1
Comment 2 Stephan Bergmann 2007-10-10 12:44:05 UTC
@dr: please verify
Comment 3 daniel.rentz 2007-10-10 13:01:29 UTC
verified in cws
Comment 4 daniel.rentz 2007-12-18 09:37:48 UTC
ok in master, closed