Strange loop in vcl/source/control/combobox

Jean-Noël Rouvignac jn.rouvignac at gmail.com
Wed Feb 13 05:04:12 PST 2013


2013/2/13 julien2412 <serval2412 at yahoo.fr>

> About STRING_NOTFOUND, you can take a look to "getToken" function in
> tools/source/string/tustring.cxx since this function is called line 388:
>     385             while ( nIndex != STRING_NOTFOUND )
>     386             {
>     387                 xub_StrLen  nPrevIndex = nIndex;
>     388                 XubString   aToken = aText.GetToken( 0, mcMultiSep,
> nIndex );
>

Pass by ref! Coming from Java, I did not think about it.
It makes sense now.

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130213/eac8a61e/attachment.html>


More information about the LibreOffice mailing list