[Libreoffice] Proposing a new Easy Hack - project consistent namespaces
caolanm at redhat.com
Tue Apr 19 01:55:59 PDT 2011
On Fri, 2011-04-15 at 18:27 -0300, Júlio Hoffimann wrote:
> Hi devs,
> How hard is to rename all the C++ namespaces to most comprehensive and
> consistent names with the project?
Well, one fairly common pattern is sprinkled around of...
namespace css = com::sun::star;
namespace cssu = com::sun::star::uno;
Sticking e.g. an additional namespace alias of
namespace libreoffice = com::sun::star;, or something of that nature, in
some header probably isn't the worst idea in the world. Though it does
generate a lot of churn to go around changing anything, and the other
language bindings, e.g. java and so on, wouldn't be affected, which i
guess has the potential for some extra confusion.
More information about the LibreOffice