Move OSL_ENSURE(false,...) to OSL_FAIL(...)

This commit is contained in:
Thomas Arnhold
2011-03-12 11:41:23 +01:00
parent 2c5e690eb8
commit c64a901829
45 changed files with 117 additions and 168 deletions

View File

@@ -73,7 +73,7 @@ namespace slideshow
}
catch (uno::Exception &)
{
OSL_ENSURE( false, rtl::OUStringToOString(
OSL_FAIL( rtl::OUStringToOString(
comphelper::anyToString(
cppu::getCaughtException() ),
RTL_TEXTENCODING_UTF8 ).getStr() );
@@ -141,8 +141,7 @@ namespace slideshow
// since this will also capture segmentation
// violations and the like. In such a case, we
// still better let our clients now...
OSL_ENSURE( false,
rtl::OUStringToOString(
OSL_FAIL( rtl::OUStringToOString(
comphelper::anyToString( cppu::getCaughtException() ),
RTL_TEXTENCODING_UTF8 ).getStr() );
}