[Libreoffice] How to write debug output to console or file?
Michael Meeks
michael.meeks at novell.com
Fri Oct 29 04:14:54 PDT 2010
On Fri, 2010-10-29 at 11:59 +0100, Caolán McNamara wrote:
> On Fri, 2010-10-29 at 09:52 +0200, Cedric Bosdonnat wrote:
> > The problem here is to get a C string from them: here are some examples:
> > * from OUString:
> > rtl::OUStringToOString( sOUStr, RTL_TEXTENCODING_UTF8 ).getStr()
Much as I hate the over-use of operator overloading, and the streams
idiom; is there a good reason why we can't have some
osl::OutputStrm << "foo" << aString << "\n";
type thing ? [ as long as we don't go wild and start using this mess
all over the place ;-].
Thoughts ?
Michael.
--
michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list