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/invocation/invocation.cxx | |
parent | 374b4f349f1d1cb3b33004580ebc903d206f28ff (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I162b47199e959f97c3bed1f307225db944017e4f
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 494fa4037b92..74d3f1decad9 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -823,14 +823,14 @@ void Invocation_Impl::getInfoSequenceImpl } // Setting up result sequences - OUString* pRetStrings = NULL; + OUString* pRetStrings = nullptr; if( pStringSeq ) { pStringSeq->realloc( nTotalCount ); pRetStrings = pStringSeq->getArray(); } - InvocationInfo* pRetInfos = NULL; + InvocationInfo* pRetInfos = nullptr; if( pInfoSeq ) { pInfoSeq->realloc( nTotalCount ); @@ -873,7 +873,7 @@ Sequence< OUString > SAL_CALL Invocation_Impl::getMemberNames( ) return _xDirect2->getMemberNames(); } Sequence< OUString > aRetSeq; - getInfoSequenceImpl( &aRetSeq, NULL ); + getInfoSequenceImpl( &aRetSeq, nullptr ); return aRetSeq; } @@ -885,7 +885,7 @@ Sequence< InvocationInfo > SAL_CALL Invocation_Impl::getInfo( ) return _xDirect2->getInfo(); } Sequence< InvocationInfo > aRetSeq; - getInfoSequenceImpl( NULL, &aRetSeq ); + getInfoSequenceImpl( nullptr, &aRetSeq ); return aRetSeq; } @@ -1004,7 +1004,7 @@ void Invocation_Impl::fillInfoForMethod // XTypeProvider Sequence< Type > SAL_CALL Invocation_Impl::getTypes() throw( RuntimeException, std::exception ) { - static Sequence< Type > const * s_pTypes = 0; + static Sequence< Type > const * s_pTypes = nullptr; if (! s_pTypes) { Sequence< Type > types( 4 +8 ); @@ -1180,9 +1180,9 @@ static const struct ImplementationEntry g_entries[] = { InvocationService_CreateInstance, inv_getImplementationName, inv_getSupportedServiceNames, createSingleComponentFactory, - 0, 0 + nullptr, 0 }, - { 0, 0, 0, 0, 0, 0 } + { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } }; extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL invocation_component_getFactory( |