cid#1357162: Logically dead code
...after 07da25064f
"loplugin:constantparam in
svl"
Change-Id: I6f7cc3ca0822de079c0855ee46f66368bd78e0b7
This commit is contained in:
@@ -1245,9 +1245,6 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream,
|
|||||||
rStream.ReadUInt16( nVersion ).ReadUInt32( nLen );
|
rStream.ReadUInt16( nVersion ).ReadUInt32( nLen );
|
||||||
sal_uLong nIStart = rStream.Tell();
|
sal_uLong nIStart = rStream.Tell();
|
||||||
|
|
||||||
// WhichId known in this version?
|
|
||||||
if ( nWhich )
|
|
||||||
{
|
|
||||||
// Load Item directly
|
// Load Item directly
|
||||||
SfxPoolItem *pNewItem =
|
SfxPoolItem *pNewItem =
|
||||||
pRefPool->GetDefaultItem(nWhich).Create(rStream, nVersion);
|
pRefPool->GetDefaultItem(nWhich).Create(rStream, nVersion);
|
||||||
@@ -1266,10 +1263,6 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream,
|
|||||||
if ( (nIStart+nLen) != nIEnd )
|
if ( (nIStart+nLen) != nIEnd )
|
||||||
rStream.Seek( nIStart+nLen );
|
rStream.Seek( nIStart+nLen );
|
||||||
}
|
}
|
||||||
else
|
|
||||||
// SKip Item
|
|
||||||
rStream.Seek( nIStart+nLen );
|
|
||||||
}
|
|
||||||
|
|
||||||
return pItem;
|
return pItem;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user