On Thu, 2010-04-01 at 23:29 +0200, bjoern michaelsen - Sun Microsystems - Hamburg Germany wrote: > On Thu, 01 Apr 2010 16:40:11 -0400 > Terrence Enger <ten...@iseries-guru.com> wrote: > > What does it take to use, for example, the DBG_ASSERT function defined > > in debug.hxx? I have poked around on the wiki without success. > > In general -- dont do it. As Michael Stahl pointed out on: > > http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions > "DBG_* is defined in module tools, and therefore evil by definition" > Consider using OSL_ENSURE and friends from sal/inc/osl/diagnose.h > instead.
Thank you. I was thinking of DBG_ASSERT simply because I saw it first as I poked around in the OOo code. Hardly a compelling basis for choice. OSL_ENSURE is giving me the visibility I needed, and I had no build problems to solve. Cheers, Terry. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org