summaryrefslogtreecommitdiffstats
path: root/cppu/source/uno/destr.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:10:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:48 +0100
commitadc6fe00e3ef3cca5bbd49a4633181856bf111df (patch)
treeea50caa8979aa23d77f912bee478d968ccf18232 /cppu/source/uno/destr.hxx
parentRemove unnecessary brackets (diff)
downloadcore-adc6fe00e3ef3cca5bbd49a4633181856bf111df.tar.gz
core-adc6fe00e3ef3cca5bbd49a4633181856bf111df.zip
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'cppu/source/uno/destr.hxx')
-rw-r--r--cppu/source/uno/destr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx
index 0dc28386afed..ce64f2d82e7f 100644
--- a/cppu/source/uno/destr.hxx
+++ b/cppu/source/uno/destr.hxx
@@ -152,7 +152,7 @@ inline void _destructAny(
::rtl_freeMemory( pAny->pData );
break;
case typelib_TypeClass_TYPEDEF:
- OSL_ENSURE( 0, "### unexpected typedef!" );
+ OSL_FAIL( "### unexpected typedef!" );
break;
case typelib_TypeClass_STRUCT:
case typelib_TypeClass_EXCEPTION:
@@ -381,7 +381,7 @@ inline void _destructData(
_destructAny( (uno_Any *)pValue, release );
break;
case typelib_TypeClass_TYPEDEF:
- OSL_ENSURE( 0, "### unexpected typedef!" );
+ OSL_FAIL( "### unexpected typedef!" );
break;
case typelib_TypeClass_STRUCT:
case typelib_TypeClass_EXCEPTION: