[PATCH] rtl::OUString to OUString and some questions

Lubos Lunak l.lunak at suse.cz
Fri Oct 26 02:57:48 PDT 2012


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 at suse.cz


More information about the LibreOffice mailing list