rtl::OUString::compareToAscii is dangerous

Noel Grandin noelgrandin at gmail.com
Tue Mar 19 10:29:06 PDT 2013


On Tue, Mar 19, 2013 at 6:54 PM, Stephan Bergmann <sbergman at redhat.com> wrote:
>
> * compareToAscii(char cosnt * asciiStr, sal_Int32 maxLength) does a
> shortened comparison of only up to maxLength characters of *this and the
> given asciiStr.
>

Maybe this one should be renamed to something like "compareLeftToAscii" ?


More information about the LibreOffice mailing list