summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej@ahunt.org>2016-01-03 17:37:35 -0800
committerAndrzej Hunt <andrzej@ahunt.org>2016-01-03 17:42:10 -0800
commit4a8c0d313540bd78c9c381edd548b976c580ca9a (patch)
treebd0a5cb9f7f8c5a0311921153df95cd95b95acc7 /cppu
parent6cf667cc94262b563869e851b01c3c49fe98c6c8 (diff)
loplugin:implicitboolconversion
Change-Id: I2ef26c34a424e653d85597c85baa736c19004313
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/typelib/typelib.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index e105bfe0d1a0..760f996cace5 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -383,10 +383,10 @@ static inline void typelib_typedescription_initTables(
{
typelib_InterfaceTypeDescription * pITD = reinterpret_cast<typelib_InterfaceTypeDescription *>(pTD);
- std::vector<sal_Bool> aReadWriteAttributes(pITD->nAllMembers);
+ std::vector<bool> aReadWriteAttributes(pITD->nAllMembers);
for ( sal_Int32 i = pITD->nAllMembers; i--; )
{
- aReadWriteAttributes[i] = sal_False;
+ aReadWriteAttributes[i] = false;
if( typelib_TypeClass_INTERFACE_ATTRIBUTE == pITD->ppAllMembers[i]->eTypeClass )
{
typelib_TypeDescription * pM = nullptr;