sal/inc/osl/diagnose.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3082f7f06b261b951315f096afae34c6b571cc06 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Apr 10 20:11:08 2012 +0200 make OSL_ASSERT print the failed expression, not just "OSL_ASSERT" diff --git a/sal/inc/osl/diagnose.h b/sal/inc/osl/diagnose.h index 9a6112b..f094abe 100644 --- a/sal/inc/osl/diagnose.h +++ b/sal/inc/osl/diagnose.h @@ -150,7 +150,7 @@ SAL_DLLPUBLIC pfunc_osl_printDetailedDebugMessage SAL_CALL osl_setDetailedDebugM #if OSL_DEBUG_LEVEL > 0 #define OSL_ASSERT(c) \ - SAL_DETAIL_WARN_IF_FORMAT(!(c), "legacy.osl", "OSL_ASSERT") + SAL_DETAIL_WARN_IF_FORMAT(!(c), "legacy.osl", "OSL_ASSERT: %s", #c) #define OSL_ENSURE(c, m) SAL_DETAIL_WARN_IF_FORMAT(!(c), "legacy.osl", "%s", m) #define OSL_FAIL(m) SAL_DETAIL_WARN_IF_FORMAT(sal_True, "legacy.osl", "%s", m) #else
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits