Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user