summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-12-03 17:03:21 +0100
committerKurt Zenker <kz@openoffice.org>2009-12-03 17:03:21 +0100
commitb3910c8c1ac5ff22371440119341607b577304fc (patch)
treebf1e0b6c3056447dbb614a9134fbeaa9e96d0d56 /cppuhelper
parent1b64aa2cdc2bfc4cb85c527cbbbea088d29f385a (diff)
masterfix: #i107405# fixed compiling testtools on wntmsci12 non-proooo/DEV300_m67
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/tdmgr.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx
index 73896ded6..35b6a0214 100644
--- a/cppuhelper/source/tdmgr.cxx
+++ b/cppuhelper/source/tdmgr.cxx
@@ -688,17 +688,17 @@ static void SAL_CALL typelib_callback(
catch (container::NoSuchElementException & exc)
{
(void) exc; // avoid warning about unused variable
- OSL_ENSURE(
- 0, OUStringToOString(
- OUString( RTL_CONSTASCII_USTRINGPARAM(
- "typelibrary type not available: ") ) +
+ OSL_TRACE(
+ "typelibrary type not available: %s",
+ OUStringToOString(
exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
}
catch (Exception & exc)
{
(void) exc; // avoid warning about unused variable
- OSL_ENSURE(
- 0, OUStringToOString(
+ OSL_TRACE(
+ "%s",
+ OUStringToOString(
exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
}
}