diff options
Diffstat (limited to 'dtrans/source/win32/misc/ImplHelper.cxx')
-rw-r--r-- | dtrans/source/win32/misc/ImplHelper.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx index 4bfb7f462fc2..c0db923d55d4 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/dtrans/source/win32/misc/ImplHelper.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -235,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(); @@ -356,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(); @@ -429,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__ @@ -478,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__ @@ -487,3 +488,5 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE* return bRet; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |