From c9eddb9d35857d75611886b805a7cdae0589594e Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 12:05:07 +0100 Subject: Move OSL_ENSURE(0,...) to OSL_FAIL(...) --- extensions/source/ole/oleobjw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') 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; } -- cgit v1.2.3