summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLSeriesHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLSeriesHelper.cxx')
-rw-r--r--xmloff/source/chart/SchXMLSeriesHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx
index 5996da5c89fd..4519b2c12ddd 100644
--- a/xmloff/source/chart/SchXMLSeriesHelper.cxx
+++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx
@@ -83,7 +83,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: " )) +
@@ -220,7 +220,7 @@ Reference< chart2::XDataSeries > SchXMLSeriesHelper::getFirstCandleStickSeries(
}
catch( const uno::Exception & )
{
- OSL_ENSURE( false, "Exception caught" );
+ OSL_FAIL( "Exception caught" );
}
return xResult;
}