summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-25 06:56:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-25 16:14:03 +0100
commit1f211f1cb2cff4f8ec0e8c21a3258b8b4077c883 (patch)
tree9e887ba434a64aa07ed1664d8d6208c7e11b2470 /chart2/source
parentaa463487778e3c04537d6a18f1e29041da4df122 (diff)
OSL_FAIL to SAL_WARN in ASSERT_EXCEPTION
Change-Id: I86e50b35fe32d3fdaf2b314e10e582e1b084efa2
Diffstat (limited to 'chart2/source')
-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)