summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/macros.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/chart2/source/inc/macros.hxx b/chart2/source/inc/macros.hxx
index 1e5bc9ec509a..89a0e56b1db8 100644
--- a/chart2/source/inc/macros.hxx
+++ b/chart2/source/inc/macros.hxx
@@ -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)