diff options
Diffstat (limited to 'dtrans/source/win32/dtobj/XTDataObject.cxx')
-rw-r--r-- | dtrans/source/win32/dtobj/XTDataObject.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx index 514669cfe15c..6d59f9a7445a 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/dtrans/source/win32/dtobj/XTDataObject.cxx @@ -256,7 +256,7 @@ void SAL_CALL CXTDataObject::renderUnicodeAndSetupStgMedium( // so we must check the any if ( !aAny.hasValue( ) ) { - OSL_ENSURE( sal_False, "XTransferable should throw an exception if ask for an unsupported flavor" ); + OSL_FAIL( "XTransferable should throw an exception if ask for an unsupported flavor" ); throw UnsupportedFlavorException( ); } @@ -293,7 +293,7 @@ void SAL_CALL CXTDataObject::renderAnyDataAndSetupStgMedium( // so we must check the any if ( !aAny.hasValue( ) ) { - OSL_ENSURE( sal_False, "XTransferable should throw an exception if ask for an unsupported flavor" ); + OSL_FAIL( "XTransferable should throw an exception if ask for an unsupported flavor" ); throw UnsupportedFlavorException( ); } @@ -361,7 +361,7 @@ HRESULT SAL_CALL CXTDataObject::renderSynthesizedFormatAndSetupStgMedium( FORMAT } catch( CInvalidFormatEtcException& ) { - OSL_ENSURE( sal_False, "Unexpected exception" ); + OSL_FAIL( "Unexpected exception" ); } catch( CStgTransferHelper::CStgTransferException& ex ) { @@ -390,7 +390,7 @@ void SAL_CALL CXTDataObject::renderSynthesizedUnicodeAndSetupStgMedium( FORMATET // so we must check the any if ( !aAny.hasValue( ) ) { - OSL_ENSURE( sal_False, "XTransferable should throw an exception if ask for an unsupported flavor" ); + OSL_FAIL( "XTransferable should throw an exception if ask for an unsupported flavor" ); throw UnsupportedFlavorException( ); } @@ -426,7 +426,7 @@ void SAL_CALL CXTDataObject::renderSynthesizedTextAndSetupStgMedium( FORMATETC& // so we must check the any if ( !aAny.hasValue( ) ) { - OSL_ENSURE( sal_False, "XTransferable should throw an exception if ask for an unsupported flavor" ); + OSL_FAIL( "XTransferable should throw an exception if ask for an unsupported flavor" ); throw UnsupportedFlavorException( ); } @@ -465,7 +465,7 @@ void SAL_CALL CXTDataObject::renderSynthesizedHtmlAndSetupStgMedium( FORMATETC& // so we must check the any if ( !aAny.hasValue( ) ) { - OSL_ENSURE( sal_False, "XTransferable should throw an exception if ask for an unsupported flavor" ); + OSL_FAIL( "XTransferable should throw an exception if ask for an unsupported flavor" ); throw UnsupportedFlavorException( ); } |