diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:49:53 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:48 +0100 |
commit | 6488e5f1207eb3f72e00cd1e2ada2e443c891373 (patch) | |
tree | 4e4424bf1aa525f86cf48ff5a0c1044cab0efaff /stoc/source | |
parent | 7769f9dbd4613a147a60d76e2df9fedd0f11289f (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/javavm/javavm.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index 6b97a619b34a..0b9ad60dd358 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -643,7 +643,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(void * pServiceManager, } catch (css::uno::Exception &) { - OSL_ENSURE(false, "com.sun.star.uno.Exception caught"); + OSL_FAIL("com.sun.star.uno.Exception caught"); } } return false; @@ -1421,7 +1421,7 @@ JavaVirtualMachine::~JavaVirtualMachine() } catch (css::uno::Exception &) { - OSL_ENSURE(false, "com.sun.star.uno.Exception caught"); + OSL_FAIL("com.sun.star.uno.Exception caught"); } if (m_xJavaConfiguration.is()) // We should never get here, but just in case... @@ -1431,7 +1431,7 @@ JavaVirtualMachine::~JavaVirtualMachine() } catch (css::uno::Exception &) { - OSL_ENSURE(false, "com.sun.star.uno.Exception caught"); + OSL_FAIL("com.sun.star.uno.Exception caught"); } } @@ -1658,12 +1658,11 @@ void JavaVirtualMachine::setINetSettingsInVM(bool set_reset) } catch (css::uno::RuntimeException &) { - OSL_ENSURE(false, "RuntimeException"); + OSL_FAIL("RuntimeException"); } catch (jvmaccess::VirtualMachine::AttachGuard::CreationException &) { - OSL_ENSURE(false, - "jvmaccess::VirtualMachine::AttachGuard::CreationException"); + OSL_FAIL("jvmaccess::VirtualMachine::AttachGuard::CreationException"); } } |