[Libreoffice] OSL_FORMAT: printf-style assertion messages

Michael Meeks michael.meeks at suse.com
Mon Oct 17 07:48:34 PDT 2011

Hi Stephan,

On Mon, 2011-10-17 at 15:57 +0200, Stephan Bergmann wrote:
> FYI, recently added OSL_FORMAT to ols/diagnose.h that lets you have 
> printf-style messages in C++ OSL_ENSURE, OSL_FAIL, DBG_ASSERT, etc.  To 
> OSL_ENSURE(i == 5, OSL_FORMAT("i should be 5 but is %d", i));

	Lovely :-)


michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list