Well OUStringBuffer dont seems to be the correct class to add that type of functionality, but maybe someone else<br>can point you in the right direction.<br><br><div class="gmail_quote">On Sun, Mar 18, 2012 at 1:45 PM, Olivier Hallot <span dir="ltr"><<a href="mailto:olivier.hallot@documentfoundation.org">olivier.hallot@documentfoundation.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Thanks Rafael<br>
<br>
Any suggestion for the same issue for OUStringBuffer?<br>
<br>
Kind regards<br>
<br>
Ikuvuer<br>
<br>
Em 18-03-2012 10:46, Rafael Dominguez escreveu:<br>
> Theres no need, OUString already has a method lastIndexOf,<br>
> <a href="http://opengrok.libreoffice.org/xref/core/sal/inc/rtl/ustring.hxx#1133" target="_blank">http://opengrok.libreoffice.org/xref/core/sal/inc/rtl/ustring.hxx#1133</a><br>
><br>
> On Sun, Mar 18, 2012 at 1:06 PM, Olivier Hallot<br>
> <<a href="mailto:olivier.hallot@documentfoundation.org">olivier.hallot@documentfoundation.org</a><br>
> <mailto:<a href="mailto:olivier.hallot@documentfoundation.org">olivier.hallot@documentfoundation.org</a>>> wrote:<br>
><br>
> Hi all<br>
><br>
> I put forefront that I am a newbie on C++ so, forgive me if I ask things<br>
> too basic or dumb. I was looking into the replacement of String by<br>
> OUString/OUStringBuffer in some parts of the code (starmath).<br>
><br>
> First, I'd like a pointer on a text/discussion on why this is<br>
> necessary/recomended.(*)<br>
><br>
> Secondly, as expected, some of the members of class String don't exist<br>
> in O[U]String[Buffer]. Therefore I was advised by Norbert to create the<br>
> member in the classes where I need them. So far, so good.<br>
><br>
> But such critical class, used all over the code, need a bit more care<br>
> and sponsorship, so with the specific case of<br>
> STRING::SearchBackward(...), is it OK to add a new member in<br>
> rtl::OUStringBuffer? If so, is it OK to clone STRING:SearchBackward(...)<br>
> to OUStringBuffer::SearchBackward(...)?<br>
><br>
> Any better idea?<br>
><br>
> Please advise.Thanks!<br>
><br>
> (*) <a href="http://wiki.documentfoundation.org/Development/String_Classes" target="_blank">http://wiki.documentfoundation.org/Development/String_Classes</a><br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> <a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a>><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> <a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br>
- --<br>
Olivier Hallot<br>
Founder, Board of Directors Member - The Document Foundation<br>
LibreOffice translation leader for Brazilian Portuguese<br>
<a href="tel:%2B55-21-8822-8812" value="+552188228812">+55-21-8822-8812</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJPZiYsAAoJEJp3R7nH3vLxwYYH/iguXXkf8WqLnAn2UL90nstO<br>
MYCSpDC06Wadpp8/Y7RQVXiy+54/MK1uOZXfbDP6RSJ5yYPfIkILN3EEIkvn19zk<br>
1HPgU18HLGE2nboSM/+/joCYsQZb8EXAjv9d2U16+JOB0bOam7tgzGKNCntMARft<br>
SIMsjw8Xp2hpo+z2W6YdwaUWOSUdHP9yr+ziWCFx2QCGFCkgY5voIJZtyGXCir9c<br>
1AwzVc+A2IDIs4it14VVPojdmevYpm2frxub3Vh0qoeEOQFuFYs71zZe2SHfv45t<br>
jeIfdZGVMK8EsCoW8E4TvkjKhBts7mKkZkAMc2erkw1pSWuu8oqq+VkT+iTGKBc=<br>
=Xvp9<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br>