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 @@ ...@@ -26,11 +26,9 @@
*/ */
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
#define ASSERT_EXCEPTION(ex) \ #define ASSERT_EXCEPTION(ex) \
OSL_FAIL( OUStringToOString( \ SAL_WARN("chart2", "Exception caught. Type: " <<\
"Exception caught. Type: " +\ typeid( ex ).name() << ", Message: " << \
OUString::createFromAscii( typeid( ex ).name()) +\ ex.Message )
", Message: " +\
ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr())
#else #else
//avoid compilation warnings //avoid compilation warnings
#define ASSERT_EXCEPTION(ex) (void)(ex) #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