summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/misc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
commit3d874bdf409ca4a099853b30aeb9932e45c56f60 (patch)
tree3b88c39fa7cf3aa598a286534afc7de6f4ec98ab /dtrans/source/win32/misc
parent4edacef4f14f1992f8e0cbded5a86730c8353b4d (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'dtrans/source/win32/misc')
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index a04c588977d1..c0db923d55d4 100644
--- a/dtrans/source/win32/misc/ImplHelper.cxx
+++ b/dtrans/source/win32/misc/ImplHelper.cxx
@@ -236,7 +236,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
__except( EXCEPTION_EXECUTE_HANDLER )
#endif
{
- OSL_ENSURE( sal_False, "Error DeleteTargetDevice" );
+ OSL_FAIL( "Error DeleteTargetDevice" );
}
#ifdef __MINGW32__
han.Reset();
@@ -357,7 +357,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
__except( EXCEPTION_EXECUTE_HANDLER )
#endif
{
- OSL_ENSURE( sal_False, "Error CopyFormatEtc" );
+ OSL_FAIL( "Error CopyFormatEtc" );
}
#ifdef __MINGW32__
han.Reset();
@@ -430,7 +430,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
__except( EXCEPTION_EXECUTE_HANDLER )
#endif
{
- OSL_ENSURE( sal_False, "Error CompareFormatEtc" );
+ OSL_FAIL( "Error CompareFormatEtc" );
nMatch = FORMATETC_NO_MATCH;
}
#ifdef __MINGW32__
@@ -479,7 +479,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
__except( EXCEPTION_EXECUTE_HANDLER )
#endif
{
- OSL_ENSURE( sal_False, "Error CompareTargetDevice" );
+ OSL_FAIL( "Error CompareTargetDevice" );
bRet = sal_False;
}
#ifdef __MINGW32__