diff options
Diffstat (limited to 'desktop/source/pkgchk')
-rwxr-xr-x | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 2 | ||||
-rwxr-xr-x | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index 09ad55cac8e4..f39364ae4dd9 100755 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -155,7 +155,7 @@ CommandEnvironmentImpl::~CommandEnvironmentImpl() } catch (RuntimeException & exc) { (void) exc; - OSL_ENSURE( 0, ::rtl::OUStringToOString( + OSL_FAIL( ::rtl::OUStringToOString( exc.Message, osl_getThreadTextEncoding() ).getStr() ); } } diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 67c6306a3c9f..0d5e57318e36 100755 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -105,7 +105,7 @@ OptionInfo const * getOptionInfo( } } } - OSL_ENSURE( 0, ::rtl::OUStringToOString( + OSL_FAIL( ::rtl::OUStringToOString( opt, osl_getThreadTextEncoding() ).getStr() ); return 0; } |