summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:02:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:30 +0100
commitfc320c41b599e54238bfdee6f96ab8de159f1d7b (patch)
tree68ea5ef0c266191415add296a4d7e0f7a9058465 /bridges
parentd5d2e280bda78fe03a96daae9677e0cf54201057 (diff)
bool improvements
Change-Id: I215bb8c484785175c297953a2ef385b2caf87bee
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx4
-rw-r--r--bridges/source/cpp_uno/shared/component.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
index 17f72e438d88..31d38beba7e6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
@@ -247,7 +247,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. */
}
@@ -290,7 +290,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;
}
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index c6ec241ad367..c95f351f5311 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -220,7 +220,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{
// ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
- pFrom->pExtEnv, pTo->pExtEnv, sal_True );
+ pFrom->pExtEnv, pTo->pExtEnv, true );
::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv,
@@ -234,7 +234,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{
// ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
- pTo->pExtEnv, pFrom->pExtEnv, sal_False );
+ pTo->pExtEnv, pFrom->pExtEnv, false );
::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv,