diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:11:43 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:11:43 +0100 |
commit | f03de39457c663e88592899ebda0f07c4e24aa9c (patch) | |
tree | f9210ed44255aaaa564ae8cc5d4239dd575c9ddf /odk/examples/cpp | |
parent | ab416c033d2785aedf64c42a10de32b8efd4cd02 (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'odk/examples/cpp')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/exports.cxx | 2 | ||||
-rw-r--r-- | odk/examples/cpp/remoteclient/remoteclient.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/exports.cxx b/odk/examples/cpp/complextoolbarcontrols/exports.cxx index 34e54f5fc3e8..2e3d54b702a2 100644 --- a/odk/examples/cpp/complextoolbarcontrols/exports.cxx +++ b/odk/examples/cpp/complextoolbarcontrols/exports.cxx @@ -80,7 +80,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(void* pServiceManager return sal_True; } catch(const css::registry::InvalidRegistryException&) - { OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); } + { OSL_FAIL( "### InvalidRegistryException!" ); } return sal_False; } diff --git a/odk/examples/cpp/remoteclient/remoteclient.cxx b/odk/examples/cpp/remoteclient/remoteclient.cxx index 90863b4c78d8..a034d03d2cc6 100644 --- a/odk/examples/cpp/remoteclient/remoteclient.cxx +++ b/odk/examples/cpp/remoteclient/remoteclient.cxx @@ -254,7 +254,7 @@ sal_Bool SAL_CALL component_writeInfo( } catch (InvalidRegistryException &) { - OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); + OSL_FAIL( "### InvalidRegistryException!" ); } } return sal_False; |