summaryrefslogtreecommitdiff
path: root/oox/source/export/SchXMLSeriesHelper.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:43:16 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:37 +0100
commit7d669e4cdc6ddcb680ffb4f05b18a8925a76a6b0 (patch)
tree60c7573fef5c6868ef98cdea125d6e0ddc76dd57 /oox/source/export/SchXMLSeriesHelper.cxx
parentd4ebec5c7950c2558c8efe873288e078f5d8ad31 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'oox/source/export/SchXMLSeriesHelper.cxx')
-rw-r--r--oox/source/export/SchXMLSeriesHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/SchXMLSeriesHelper.cxx b/oox/source/export/SchXMLSeriesHelper.cxx
index f780af38996f..d9a92644dbdb 100644
--- a/oox/source/export/SchXMLSeriesHelper.cxx
+++ b/oox/source/export/SchXMLSeriesHelper.cxx
@@ -81,7 +81,7 @@ using ::rtl::OUString;
{
(void)ex; // avoid warning for pro build
- OSL_ENSURE( false, OUStringToOString( OUString(
+ OSL_FAIL( OUStringToOString( OUString(
OUString( RTL_CONSTASCII_USTRINGPARAM( "Exception caught. Type: " )) +
OUString::createFromAscii( typeid( ex ).name()) +
OUString( RTL_CONSTASCII_USTRINGPARAM( ", Message: " )) +
@@ -218,7 +218,7 @@ Reference< chart2::XDataSeries > SchXMLSeriesHelper::getFirstCandleStickSeries(
}
catch( const uno::Exception & )
{
- OSL_ENSURE( false, "Exception caught" );
+ OSL_FAIL( "Exception caught" );
}
return xResult;
}