diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:50:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:50:51 +0200 |
commit | 15376a55f12edbe7e8517e85e16148bb395a2799 (patch) | |
tree | 4ef157c0fc6971d3a23411c49f08f2eaef5703f3 /svl | |
parent | dcaf8af0f36bae675b9baf80e742ef97dfad3798 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I42b3964ea13931b401be65324b556a803ffdc529
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolio.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index b9b89de178c9..f460725343e5 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -379,7 +379,7 @@ void SfxItemPool_Impl::readTheItems ( // Fill up missing ones // coverity[tainted_data] - ignore this, though we should finally kill off this format for ( pItem = 0, n = nLastSurrogate+1; n < nSurrogate; ++n ) - pNewArr->push_back( (SfxPoolItem*) pItem ); + pNewArr->push_back( pItem ); nLastSurrogate = nSurrogate; // Load RefCount and Item @@ -387,7 +387,7 @@ void SfxItemPool_Impl::readTheItems ( rStream.ReadUInt16( nRef ); pItem = pDefItem->Create(rStream, nVer); - pNewArr->push_back( (SfxPoolItem*) pItem ); + pNewArr->push_back( pItem ); if ( !mbPersistentRefCounts ) // Hold onto it until SfxItemPool::LoadCompleted() @@ -403,7 +403,7 @@ void SfxItemPool_Impl::readTheItems ( // Fill up missing ones for ( pItem = 0, n = nLastSurrogate+1; n < nItemCount; ++n ) - pNewArr->push_back( (SfxPoolItem*) pItem ); + pNewArr->push_back( pItem ); SfxPoolItemArray_Impl *pOldArr = *ppArr; *ppArr = pNewArr; @@ -453,7 +453,7 @@ void SfxItemPool_Impl::readTheItems ( if ( nFree != SAL_MAX_UINT32 ) (SfxPoolItem*&)(*ppArr)->operator[](nFree) = pOldItem; else - (*ppArr)->push_back( (SfxPoolItem*) pOldItem ); + (*ppArr)->push_back( pOldItem ); } } } |