remove unusable debug code, DBG_UTIL_MI

nItemStartPos was never defined
initial commit ee62af2e9b
Date:   Wed Apr 13 10:18:14 2005 +0000
    INTEGRATION: CWS visibility03 (1.1.2); FILE ADDED

Change-Id: If63d5594d32bae9e5b3b89e7d2bc6106e7663071
Reviewed-on: https://gerrit.libreoffice.org/31857
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Jochen Nitschke
2016-12-09 09:13:04 +01:00
committed by Noel Grandin
parent 4ef9ccea6c
commit 8c7315b94f

View File

@@ -271,17 +271,6 @@ SvStream &SfxItemPool::Store(SvStream &rStream) const
pItem->Store(rStream, nItemVersion);
else
break;
#ifdef DBG_UTIL_MI
if ( dynamic_cast<const SfxSetItem*>( pItem ) == nullptr )
{
sal_uLong nMark = rStream.Tell();
rStream.Seek( nItemStartPos + sizeof(sal_uInt16) );
std::unique_ptr<SfxPoolItem> pClone(pItem->Create(rStream, nItemVersion ));
sal_uInt16 nWh = pItem->Which();
SFX_ASSERT( rStream.Tell() == nMark, nWh,"asymmetric store/create" );
SFX_ASSERT( *pClone == *pItem, nWh, "unequal after store/create" );
}
#endif
}
}
}