About Strings

Olivier Hallot olivier.hallot at documentfoundation.org
Sun Mar 18 06:06:23 PDT 2012


-----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-----


More information about the LibreOffice mailing list