On 04/13/2012 10:13 AM, Bjoern Michaelsen wrote:
I tend to agree on all points. If something like that is essential, we could
have something like a:
salhelper/inc/rtl/stringhelper.hxx:
#include<rtl/ustring.hxx>
using ::rtl::OUString;
using ::rtl::OStringToOUString;
using ::rtl::OUStringToOString;

and allow that to be used in .cxx only but not in .hxx.

Note that it would not hurt too much (at least concerning the published URE API) if that header happened to be included from other headers.

Somewhat similar to the standard header approach, where legacy <foo.h> wraps <foo> and injects its names into global namespace.

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to