diff options
-rw-r--r-- | comphelper/source/property/propagg.cxx | 4 | ||||
-rw-r--r-- | include/comphelper/string.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index 3ba2c135c81a..1256aeafc839 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -86,7 +86,7 @@ OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper( sal_Int32 nMPLoop = 0; for ( ; nMPLoop < nDelegatorProps; ++nMPLoop, ++pDelegateProps ) { - m_aPropertyAccessors[ pDelegateProps->Handle ] = OPropertyAccessor( -1, nMPLoop, sal_False ); + m_aPropertyAccessors[ pDelegateProps->Handle ] = OPropertyAccessor( -1, nMPLoop, false ); OSL_ENSURE( aDelegatorProps.find( pDelegateProps->Name ) == aDelegatorProps.end(), "OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper: duplicate delegatee property!" ); aDelegatorProps.insert( pDelegateProps->Name ); @@ -128,7 +128,7 @@ OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper( } // remember the accessor for this property - m_aPropertyAccessors[ nHandle ] = OPropertyAccessor( pMergedProps->Handle, nMPLoop, sal_True ); + m_aPropertyAccessors[ nHandle ] = OPropertyAccessor( pMergedProps->Handle, nMPLoop, true ); pMergedProps->Handle = nHandle; ++nMPLoop; diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index 0363d4b743c0..181ca8b92a6e 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -96,7 +96,7 @@ inline OUStringBuffer& remove(OUStringBuffer &rIn, sal_Unicode c) { sal_Int32 index = 0; - while (1) + while (true) { if (index >= rIn.getLength()) break; |