From a14f55e0785664d04ec74aa060e6a1bcd661f183 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 21 Feb 2014 21:56:02 +0100 Subject: loplugin:implicitboolconversion, loplugin:literaltoboolconversion Change-Id: I69bf7b3cace97dc7e1e5c362321b43d38dd36536 --- bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bridges/source') diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx index 06e33de2913a..facdcddad4bc 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx @@ -245,7 +245,7 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c #if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "Unhandled case: pType->eTypeClass == %d", pTypeRef->eTypeClass ); #endif - OSL_ASSERT(0); + OSL_ASSERT(false); } return 0; /* Never reached. */ } @@ -288,7 +288,7 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool #if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "Unhandled case: classes[n] == %d", classes[n] ); #endif - OSL_ASSERT(0); + OSL_ASSERT(false); } return true; } @@ -297,7 +297,7 @@ bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef { int g, s; - return examine_argument( pTypeRef, true, g, s ) == 0; + return !examine_argument( pTypeRef, true, g, s ); } void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct ) throw () -- cgit