About Strings

Rafael Dominguez venccsralph at gmail.com
Sun Mar 18 06:46:22 PDT 2012


Theres no need, OUString already has a method lastIndexOf,
http://opengrok.libreoffice.org/xref/core/sal/inc/rtl/ustring.hxx#1133

On Sun, Mar 18, 2012 at 1:06 PM, Olivier Hallot <
olivier.hallot at documentfoundation.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all
>
> I put forefront that I am a newbie on C++ so, forgive me if I ask things
> too basic or dumb. I was looking into the replacement of String by
> OUString/OUStringBuffer in some parts of the code (starmath).
>
> First, I'd like a pointer on a text/discussion on why this is
> necessary/recomended.(*)
>
> Secondly, as expected, some of the members of class String don't exist
> in O[U]String[Buffer]. Therefore I was advised by Norbert to create the
> member in the classes where I need them. So far, so good.
>
> But such critical class, used all over the code, need a bit more care
> and sponsorship, so with the specific case of
> STRING::SearchBackward(...), is it OK to add a new member in
> rtl::OUStringBuffer? If so, is it OK to clone STRING:SearchBackward(...)
> to OUStringBuffer::SearchBackward(...)?
>
> Any better idea?
>
> Please advise.Thanks!
>
> (*) http://wiki.documentfoundation.org/Development/String_Classes
> - --
> Olivier Hallot
> Founder, Board of Directors Member - The Document Foundation
> LibreOffice translation leader for Brazilian Portuguese
> +55-21-8822-8812
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJPZd3PAAoJEJp3R7nH3vLxygcH/2QgJQth4OfLcZHt0eh+LnR0
> Pu/pOjcsS9iFMuKyd2C4zAATK4KuuUByj4speBlCXFRnRwyIoDSQAKJiJhnk+SNc
> vQhlWrn+yTzB8wS2Ps8ryARcMiM80ho6Gs3sNzh+tHo+svZLR8KQx2qwcaPPAIZ1
> a1WESHMcjRbOZ4PhYPo5CTEoH9ePSfpOIDeyU+NmOplWQzs0ujkZqh85mT7AtCZh
> t82A6ke8gJgeG5HBRMqsUj2EY/1+Kd3OxGZwF1kaQn0hr5+o+MO8afl9FlXT0hiS
> aksX1ZvHejFDNClgLHfvLTeuEQx3xXR7Cc7vrpYXDJM5oIEO5CuW6f1B6Ni+mk8=
> =YYx7
> -----END PGP SIGNATURE-----
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120318/be06b514/attachment.html>


More information about the LibreOffice mailing list