diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:24:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:43 +0100 |
commit | da95f17cb69fe9eb18be44aaac9f71a68445e91c (patch) | |
tree | 6e46ab7b819efc6107b8acaf33e86f881992c2c9 /stoc/source/corereflection/crarray.cxx | |
parent | 374b4f349f1d1cb3b33004580ebc903d206f28ff (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I162b47199e959f97c3bed1f307225db944017e4f
Diffstat (limited to 'stoc/source/corereflection/crarray.cxx')
-rw-r--r-- | stoc/source/corereflection/crarray.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/corereflection/crarray.cxx b/stoc/source/corereflection/crarray.cxx index 7d70747670f6..1241430aebcc 100644 --- a/stoc/source/corereflection/crarray.cxx +++ b/stoc/source/corereflection/crarray.cxx @@ -54,7 +54,7 @@ void ArrayIdlClassImpl::release() throw() Sequence< Type > ArrayIdlClassImpl::getTypes() throw (css::uno::RuntimeException, std::exception) { - static ::cppu::OTypeCollection * s_pTypes = 0; + static ::cppu::OTypeCollection * s_pTypes = nullptr; if (! s_pTypes) { ::osl::MutexGuard aGuard( getMutexAccess() ); @@ -136,7 +136,7 @@ Any ArrayIdlClassImpl::get( const Any & rArray, sal_Int32 nIndex ) } Any aRet; - typelib_TypeDescription * pElemTypeDescr = 0; + typelib_TypeDescription * pElemTypeDescr = nullptr; TYPELIB_DANGER_GET( &pElemTypeDescr, getTypeDescr()->pType ); uno_any_destruct( &aRet, reinterpret_cast< uno_ReleaseFunc >(cpp_release) ); uno_any_construct( &aRet, &pSeq->elements[nIndex * pElemTypeDescr->nSize], @@ -174,7 +174,7 @@ void ArrayIdlClassImpl::set( Any & rArray, sal_Int32 nIndex, const Any & rNewVal rArray.pData = ppSeq; pSeq = *ppSeq; - typelib_TypeDescription * pElemTypeDescr = 0; + typelib_TypeDescription * pElemTypeDescr = nullptr; TYPELIB_DANGER_GET( &pElemTypeDescr, getTypeDescr()->pType ); if (! coerce_assign( &pSeq->elements[nIndex * pElemTypeDescr->nSize], |