[Libreoffice-commits] core.git: svl/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Dec 11 18:57:13 UTC 2016
svl/source/items/poolio.cxx | 11 -----------
1 file changed, 11 deletions(-)
New commits:
commit 8c7315b94f970abdb66e1a79c4143dd59d45eacf
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Fri Dec 9 09:13:04 2016 +0100
remove unusable debug code, DBG_UTIL_MI
nItemStartPos was never defined
initial commit ee62af2e9ba16913568919c9289fb1753b4b456e
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 at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index d92fc18..4156ec9 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -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
}
}
}
More information about the Libreoffice-commits
mailing list