[Libreoffice] [PATCH] remove using namespace rtl

Kohei Yoshida kyoshida at novell.com
Mon Feb 28 07:14:42 PST 2011

On Sat, 2011-02-26 at 01:45 -0500, Kevin Hunter wrote:
> Hullo List,
> A simpleton patch to convert the more sane using ::rtl::* syntax.

Hi Kevin,

So, the idea behind this easy hack task is *not* to convert
rtl::OUString to OUString by using "using ::rtl::OUString" per se.  The
idea behind it is to remove using namespace rtl, and if that causes
build breakage because of the use of non-fully qualified OUString in
that file, then we'll add "using ::rtl::OUString" to that file.

Using rtl::OUString directly, or using OUString in the code and adding
using ::rtl::OUString at the top is mostly just a matter of taste, so I
don't think we want to do this conversion across the board.



Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida at novell.com>

More information about the LibreOffice mailing list