Kaydet (Commit) 4a8c0d31 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

loplugin:implicitboolconversion

Change-Id: I2ef26c34a424e653d85597c85baa736c19004313
üst 6cf667cc
...@@ -383,10 +383,10 @@ static inline void typelib_typedescription_initTables( ...@@ -383,10 +383,10 @@ static inline void typelib_typedescription_initTables(
{ {
typelib_InterfaceTypeDescription * pITD = reinterpret_cast<typelib_InterfaceTypeDescription *>(pTD); 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--; ) for ( sal_Int32 i = pITD->nAllMembers; i--; )
{ {
aReadWriteAttributes[i] = sal_False; aReadWriteAttributes[i] = false;
if( typelib_TypeClass_INTERFACE_ATTRIBUTE == pITD->ppAllMembers[i]->eTypeClass ) if( typelib_TypeClass_INTERFACE_ATTRIBUTE == pITD->ppAllMembers[i]->eTypeClass )
{ {
typelib_TypeDescription * pM = nullptr; typelib_TypeDescription * pM = nullptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment