On Saturday 13 of October 2012, 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?
Yes, it is more of a cosmetic cleanup - the classes are already in practice
namespaced by the O prefix and so not explicitly adding the rtl:: prefix is
avoiding the nuisance of the extra writing and also, since these are very
commonly uses classes, makes the code more readable.
--
Lubos Lunak
l.lunak@suse.cz
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.