diff --git a/bridges/source/cpp_uno/gcc3_linux_mips64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips64/cpp2uno.cxx index 068bc55d9fe9..8f510c82ecc6 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips64/cpp2uno.cxx @@ -544,7 +544,7 @@ namespace unsigned char * codeSnippet( unsigned char * code, sal_Int32 functionIndex, sal_Int32 vtableOffset, - bool bHasHiddenParam) SAL_THROW(()) + bool bHasHiddenParam ) { #ifdef BRDEBUG fprintf(stderr,"in codeSnippet functionIndex is %d\n", functionIndex); diff --git a/bridges/source/cpp_uno/gcc3_linux_mips64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_mips64/uno2cpp.cxx index e7cd63fc6fd1..859ffe5b3142 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips64/uno2cpp.cxx @@ -141,7 +141,7 @@ namespace sal_uInt32 nREG) { // Should not happen, but... - static_assert( MAX_GP_REGS == MAX_FP_REGS ); + static_assert(MAX_GP_REGS == MAX_FP_REGS, "must be the same size"); if ( nREG > MAX_GP_REGS ) nREG = MAX_GP_REGS; @@ -266,7 +266,7 @@ namespace // return typelib_TypeDescription * pReturnTypeDescr = 0; TYPELIB_DANGER_GET( &pReturnTypeDescr, pReturnTypeRef ); - assert( pReturnTypeDescr, "### expected return type description!" ); + assert(pReturnTypeDescr); void * pCppReturn = 0; // if != 0 && != pUnoReturn, needs reconversion