[Libreoffice-commits] core.git: cppu/source
Andrzej Hunt
andrzej at ahunt.org
Sun Jan 3 17:59:32 PST 2016
cppu/source/typelib/typelib.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4a8c0d313540bd78c9c381edd548b976c580ca9a
Author: Andrzej Hunt <andrzej at ahunt.org>
Date: Sun Jan 3 17:37:35 2016 -0800
loplugin:implicitboolconversion
Change-Id: I2ef26c34a424e653d85597c85baa736c19004313
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index e105bfe..760f996 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;
More information about the Libreoffice-commits
mailing list