diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:11:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:11:09 +0100 |
commit | 3d874bdf409ca4a099853b30aeb9932e45c56f60 (patch) | |
tree | 3b88c39fa7cf3aa598a286534afc7de6f4ec98ab /dtrans/source/win32/ftransl/ftransl.cxx | |
parent | 4edacef4f14f1992f8e0cbded5a86730c8353b4d (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'dtrans/source/win32/ftransl/ftransl.cxx')
-rwxr-xr-x | dtrans/source/win32/ftransl/ftransl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 456510145ab5..97bbe2b6634c 100755 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -181,15 +181,15 @@ Any SAL_CALL CDataFormatTranslator::getSystemDataTypeFromDataFlavor( const DataF } catch( IllegalArgumentException& ) { - OSL_ENSURE( sal_False, "Invalid content-type detected!" ); + OSL_FAIL( "Invalid content-type detected!" ); } catch( NoSuchElementException& ) { - OSL_ENSURE( sal_False, "Illegal content-type parameter" ); + OSL_FAIL( "Illegal content-type parameter" ); } catch( ... ) { - OSL_ENSURE( sal_False, "Unexpected error" ); + OSL_FAIL( "Unexpected error" ); throw; } @@ -222,7 +222,7 @@ DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( cons findDataFlavorForNativeFormatName( nativeFormatName, aFlavor ); } else - OSL_ENSURE( sal_False, "Invalid data type received" ); + OSL_FAIL( "Invalid data type received" ); return aFlavor; } |