Apache OpenOffice (AOO) Bugzilla – Issue 82428
Missing/wrong documentation of O[U]String::lastIndexOf
Last modified: 2007-12-18 09:37:48 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"
sal/inc/rtl/string.hxx:1.21.190.1 sal/inc/rtl/ustring.hxx:1.30.30.1
@dr: please verify
verified in cws
ok in master, closed