bool improvements

Change-Id: I215bb8c484785175c297953a2ef385b2caf87bee
This commit is contained in:
Stephan Bergmann
2014-01-28 20:02:59 +01:00
parent d5d2e280bd
commit fc320c41b5
2 changed files with 4 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 1
OSL_TRACE( "Unhandled case: pType->eTypeClass == %d", pTypeRef->eTypeClass ); OSL_TRACE( "Unhandled case: pType->eTypeClass == %d", pTypeRef->eTypeClass );
#endif #endif
OSL_ASSERT(0); OSL_ASSERT(false);
} }
return 0; /* Never reached. */ return 0; /* Never reached. */
} }
@@ -290,7 +290,7 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 1
OSL_TRACE( "Unhandled case: classes[n] == %d", classes[n] ); OSL_TRACE( "Unhandled case: classes[n] == %d", classes[n] );
#endif #endif
OSL_ASSERT(0); OSL_ASSERT(false);
} }
return true; return true;
} }

View File

@@ -220,7 +220,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{ {
// ref count initially 1 // ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping( pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
pFrom->pExtEnv, pTo->pExtEnv, sal_True ); pFrom->pExtEnv, pTo->pExtEnv, true );
::uno_registerMapping( ::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping, &pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv, (uno_Environment *)pFrom->pExtEnv,
@@ -234,7 +234,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{ {
// ref count initially 1 // ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping( pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
pTo->pExtEnv, pFrom->pExtEnv, sal_False ); pTo->pExtEnv, pFrom->pExtEnv, false );
::uno_registerMapping( ::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping, &pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv, (uno_Environment *)pFrom->pExtEnv,