Kaydet (Commit) 8c7315b9 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

remove unusable debug code, DBG_UTIL_MI

nItemStartPos was never defined
initial commit ee62af2e
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/31857Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 4ef9ccea
......@@ -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
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment