diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:41:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:13:33 +0100 |
commit | c64a901829e5dedf12422edfb6bb7bc94a8357a5 (patch) | |
tree | 29de7e95e46da1149ca8ac24022cd25b4dcefad3 /sd/source/ui/unoidl/unomodel.cxx | |
parent | 2c5e690eb8b6aaaad0a1c57fc533e23e4164b8f0 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 1a41057c6434..3ac6a6df82d6 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -303,8 +303,8 @@ void SAL_CALL SdXImpressDocument::release() throw ( ) } catch (uno::RuntimeException const& exc) { // don't break throw () - OSL_ENSURE( - false, OUStringToOString( + OSL_FAIL( + OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); static_cast<void>(exc); } |