diff options
Diffstat (limited to 'bridges/source/cpp_uno/mingw_x86-64/abi.cxx')
-rw-r--r-- | bridges/source/cpp_uno/mingw_x86-64/abi.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bridges/source/cpp_uno/mingw_x86-64/abi.cxx b/bridges/source/cpp_uno/mingw_x86-64/abi.cxx index 06e33de2913a..aaf657f2de22 100644 --- a/bridges/source/cpp_uno/mingw_x86-64/abi.cxx +++ b/bridges/source/cpp_uno/mingw_x86-64/abi.cxx @@ -54,6 +54,8 @@ #include "abi.hxx" +#include <sal/log.hxx> + using namespace x86_64; /* Register class used for passing given 64bit part of the argument. @@ -242,10 +244,9 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c } default: -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "Unhandled case: pType->eTypeClass == %d", pTypeRef->eTypeClass ); -#endif - OSL_ASSERT(0); + SAL_WARN("bridges", "Unhandled case: pType->eTypeClass == " + << pTypeRef->eTypeClass); + assert(false); } return 0; /* Never reached. */ } @@ -285,10 +286,8 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool return false; break; default: -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "Unhandled case: classes[n] == %d", classes[n] ); -#endif - OSL_ASSERT(0); + SAL_WARN("bridges", "Unhandled case: classes[n] == " << classes[n]); + assert(false); } return true; } |