Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


-----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@documentfoundation.org
<mailto:olivier.hallot@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@lists.freedesktop.org
    <mailto:LibreOffice@lists.freedesktop.org>
    http://lists.freedesktop.org/mailman/listinfo/libreoffice




_______________________________________________
LibreOffice mailing list
LibreOffice@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-----

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.