diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:08:24 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:08:24 +0100 |
commit | 05745bb195bd54933dbc2333fde1b147f894c0ea (patch) | |
tree | 418a5a4b9b6c5e7549a580d657389c00037f860b /filter/source/msfilter/msoleexp.cxx | |
parent | 48b7ae25d490230ecb4cad6545d40098b81d7992 (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'filter/source/msfilter/msoleexp.cxx')
-rw-r--r-- | filter/source/msfilter/msoleexp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx index ca691767477b..c9c13ed4881a 100644 --- a/filter/source/msfilter/msoleexp.cxx +++ b/filter/source/msfilter/msoleexp.cxx @@ -130,7 +130,7 @@ sal_Bool UseOldMSExport() } } - OSL_ENSURE( sal_False, "Could not get access to configuration entry!\n" ); + OSL_FAIL( "Could not get access to configuration entry!\n" ); return sal_False; } @@ -268,13 +268,13 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SvSto } catch( embed::NoVisualAreaSizeException& ) { - OSL_ENSURE( sal_False, "Could not get visual area size!\n" ); + OSL_FAIL( "Could not get visual area size!\n" ); aSize.Width = 5000; aSize.Height = 5000; } catch( uno::Exception& ) { - OSL_ENSURE( sal_False, "Unexpected exception while getting visual area size!\n" ); + OSL_FAIL( "Unexpected exception while getting visual area size!\n" ); aSize.Width = 5000; aSize.Height = 5000; } |