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


On Sat, 2012-10-13 at 20:14 +0200, oger000 wrote:
Preface: I am a novice in many things.

To get familiar with the stringclasses I chose the "rtl namespace prefix 
removal" because I have seen some patches of this kind on the mailinglist.


My questions:

1) I did not find background info - at least not at 
<https://wiki.documentfoundation.org/Development/String_Classes> why the 
removing of the "rtl::" namespace prefix is preferable.

Any pointers? - or is it more a cosmetic cleanup?

I think that it is part of a bigger task where we want to use only one
string class if possible. Also we want to use it an easier way. For
example we could use OUString("bla") instead of
RTL_CONSTASCII_USTRINGPARAM("bla")). In some constructs, we could even
use "bla" directly in the assigment. Such code is easier to read and
maintain. I think that Lubos or Ricardo could tell you more details
about it.

Well, I remember that Michael wanted to postpone such trivial changes a
bit because he did a license check and it made it more complicated.
Instead, he suggested to look at the slightly more complicated changes
that  you might find at http://wiki.documentfoundation.org/Easy_Hacks

If you want to work with strings, you might have a look at 
https://bugs.freedesktop.org/show_bug.cgi?id=38838


2) A "make clean; make all" was successfull. Is this enough to think the change 
correct?

Anyway, the change looked fine => I pushed it to master.

Last thing. I do not find you name at
http://wiki.documentfoundation.org/Development/Developers. Could you
please send a blank license statement to this mailing list? It would
allow us to integrate your further patches. For example, see
http://lists.freedesktop.org/archives/libreoffice/2012-October/039695.html


Thanks a lot for contribution.


Best Regards,
Petr

PS: Please, be patient. Most developers are on the LibreOffice
conference this week, so we have worse response time than usual :-)


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.