Type: info Title: tools/diagnose_ex: ENSURE_OR_RETURN* Posted by: frank.schoenh...@sun.com Affected: - TaskId: i65597 <http://www.openoffice.org/issues/show_bug.cgi?id=65597> Effective from: CWS autorecovery CWS: <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/autorecovery> CWS status: new
*Summary* -------- - ENSURE_OR_RETURN( condition, message ) + ENSURE_OR_RETURN( condition, message, retval ) + ENSURE_OR_RETURN_FALSE( condition, message ) + ENSURE_OR_RETURN_VOID( condition, message ) *Description* ------------- ENSURE_OR_RETURN, defined in tools/diagnose_ex.h, used to check a condition, and in case of failure raise an assertion, and return "false". It has been changed to return a value supplied to the macro, and ENSURE_OR_RETURN_[FALSE/VOID] have been introduced as shortcuts to bail out with "false" or no return value at all. Send feedback to interface-announce@openoffice.org
--------------------------------------------------------------------- To unsubscribe, e-mail: interface-announce-unsubscr...@openoffice.org For additional commands, e-mail: interface-announce-h...@openoffice.org