diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 21:56:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 21:56:02 +0100 |
commit | a14f55e0785664d04ec74aa060e6a1bcd661f183 (patch) | |
tree | 0c7e92a2d36eb8a6d81b2a5721747eb5017335df /bridges | |
parent | 2462aa668f7109fc40de9fbf5e13e1f3fdf904cd (diff) |
loplugin:implicitboolconversion, loplugin:literaltoboolconversion
Change-Id: I69bf7b3cace97dc7e1e5c362321b43d38dd36536
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_macosx_x86-64/abi.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 () |