summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:05:07 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:12 +0100
commitc9eddb9d35857d75611886b805a7cdae0589594e (patch)
tree3af8dc6b87ca4b89706efeb90dcb0d3908ce2ea8 /extensions
parent5ad692096323fcdf03823352b70bb7e71660919c (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/oleobjw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 4c772288fe16..a8f0f5b45092 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -332,7 +332,7 @@ void SAL_CALL IUnknownWrapper_Impl::setValue( const OUString& aPropertyName,
OUString msg(OUSTR("[automation bridge] Property ") + aPropertyName +
OUSTR(" is read-only"));
OString sMsg = OUStringToOString(msg, osl_getThreadTextEncoding());
- OSL_ENSURE(0, sMsg.getStr());
+ OSL_FAIL(sMsg.getStr());
// ignore silently
return;
}