diff options
-rw-r--r-- | svl/source/items/poolio.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index 6b0fee8785f1..8abb03b57c94 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -427,7 +427,7 @@ void SfxItemPool_Impl::readTheItems ( { // Loaded Item SfxPoolItem *&rpNewItem = - (SfxPoolItem*&)(*ppArr)->operator[](nNew); + (*ppArr)->operator[](nNew); // Unused surrogate? if ( !rpNewItem ) @@ -450,7 +450,7 @@ void SfxItemPool_Impl::readTheItems ( if ( !bFound ) { if ( nFree != SAL_MAX_UINT32 ) - (SfxPoolItem*&)(*ppArr)->operator[](nFree) = pOldItem; + (*ppArr)->operator[](nFree) = pOldItem; else (*ppArr)->push_back( pOldItem ); } |