summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:09:32 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:28 +0100
commit7149c614359ccfabe260b8edf197a3918ba511b4 (patch)
tree95b21090ceadf9274b41242cb123ee0c777b5636 /unodevtools
parent3b2efb2043dd6871d5025b41936b6069a8dfda13 (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/unodevtools/typeblob.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/unodevtools/typeblob.cxx b/unodevtools/source/unodevtools/typeblob.cxx
index 3a057e7ec80d..9123bf13fff0 100644
--- a/unodevtools/source/unodevtools/typeblob.cxx
+++ b/unodevtools/source/unodevtools/typeblob.cxx
@@ -136,7 +136,7 @@ void writeConstantData(typereg::Writer& rWriter, sal_uInt16 fieldIndex,
}
break;
default:
- OSL_ENSURE( 0, "unsupported constant type" );
+ OSL_FAIL( "unsupported constant type" );
break;
}
@@ -798,7 +798,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
}
break;
default:
- OSL_ENSURE( 0, "unsupported type" );
+ OSL_FAIL( "unsupported type" );
break;
}