summaryrefslogtreecommitdiffstats
path: root/unotools/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
commit3d874bdf409ca4a099853b30aeb9932e45c56f60 (patch)
tree3b88c39fa7cf3aa598a286534afc7de6f4ec98ab /unotools/inc
parentfix debug build breakage (diff)
downloadcore-3d874bdf409ca4a099853b30aeb9932e45c56f60.tar.gz
core-3d874bdf409ca4a099853b30aeb9932e45c56f60.zip
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/loghelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/inc/unotools/loghelper.hxx b/unotools/inc/unotools/loghelper.hxx
index 4427d45445f0..bae5c7ed09c4 100644
--- a/unotools/inc/unotools/loghelper.hxx
+++ b/unotools/inc/unotools/loghelper.hxx
@@ -45,7 +45,7 @@ inline void logIt(const css::uno::Exception& ex)
sMsg.appendAscii("Unexpected exception catched. Original message was:\n\"" );
sMsg.append(ex.Message);
sMsg.appendAscii("\"");
- OSL_ENSURE(sal_False, ::rtl::OUStringToOString(sMsg.makeStringAndClear(), RTL_TEXTENCODING_UTF8).getStr());
+ OSL_FAIL(::rtl::OUStringToOString(sMsg.makeStringAndClear(), RTL_TEXTENCODING_UTF8).getStr());
}
#endif