Kaydet (Commit) 1f211f1c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

OSL_FAIL to SAL_WARN in ASSERT_EXCEPTION

Change-Id: I86e50b35fe32d3fdaf2b314e10e582e1b084efa2
üst aa463487
......@@ -26,11 +26,9 @@
*/
#if OSL_DEBUG_LEVEL > 0
#define ASSERT_EXCEPTION(ex) \
OSL_FAIL( OUStringToOString( \
"Exception caught. Type: " +\
OUString::createFromAscii( typeid( ex ).name()) +\
", Message: " +\
ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr())
SAL_WARN("chart2", "Exception caught. Type: " <<\
typeid( ex ).name() << ", Message: " << \
ex.Message )
#else
//avoid compilation warnings
#define ASSERT_EXCEPTION(ex) (void)(ex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment