Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19

Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
This commit is contained in:
Julien Nabet
2014-05-22 23:19:05 +02:00
parent 87c1aa16a9
commit b09b5f8f7c
114 changed files with 490 additions and 505 deletions

View File

@@ -76,7 +76,7 @@ uno::Sequence< uno::Type > SAL_CALL SIDEModel::getTypes( ) throw(uno::RuntimeEx
sal_Int32 nLen = aTypes.getLength();
aTypes.realloc(nLen + 1);
uno::Type* pTypes = aTypes.getArray();
pTypes[nLen++] = ::getCppuType((Reference<XServiceInfo>*)0);
pTypes[nLen++] = cppu::UnoType<XServiceInfo>::get();
return aTypes;
}