About Strings

Rafael Dominguez venccsralph at gmail.com
Sun Mar 18 18:57:47 PDT 2012


Well OUStringBuffer dont seems to be the correct class to add that type of
functionality, but maybe someone else
can point you in the right direction.

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

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thanks Rafael
>
> Any suggestion for the same issue for OUStringBuffer?
>
> Kind  regards
>
> Ikuvuer
>
> Em 18-03-2012 10:46, Rafael Dominguez escreveu:
> > 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
> > <mailto:olivier.hallot at documentfoundation.org>> wrote:
> >
> > 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
> >     _______________________________________________
> >     LibreOffice mailing list
> >     LibreOffice at lists.freedesktop.org
> >     <mailto:LibreOffice at lists.freedesktop.org>
> >     http://lists.freedesktop.org/mailman/listinfo/libreoffice
> >
> >
> >
> >
> > _______________________________________________
> > LibreOffice mailing list
> > LibreOffice at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
> - --
> 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/
>
> iQEcBAEBAgAGBQJPZiYsAAoJEJp3R7nH3vLxwYYH/iguXXkf8WqLnAn2UL90nstO
> MYCSpDC06Wadpp8/Y7RQVXiy+54/MK1uOZXfbDP6RSJ5yYPfIkILN3EEIkvn19zk
> 1HPgU18HLGE2nboSM/+/joCYsQZb8EXAjv9d2U16+JOB0bOam7tgzGKNCntMARft
> SIMsjw8Xp2hpo+z2W6YdwaUWOSUdHP9yr+ziWCFx2QCGFCkgY5voIJZtyGXCir9c
> 1AwzVc+A2IDIs4it14VVPojdmevYpm2frxub3Vh0qoeEOQFuFYs71zZe2SHfv45t
> jeIfdZGVMK8EsCoW8E4TvkjKhBts7mKkZkAMc2erkw1pSWuu8oqq+VkT+iTGKBc=
> =Xvp9
> -----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/398a5535/attachment.htm>


More information about the LibreOffice mailing list