diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-09-08 20:45:46 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-09-08 20:46:21 +0200 |
commit | 276536fc10368dbe7e16cf859b6da903cec6b8aa (patch) | |
tree | 7e042ea5f82c898e92770001d17aaf3b248c1992 /svl | |
parent | 84cbd6a5434e119613d677370e7657ea77cd7767 (diff) |
svl: assert calls of SfxPoolItem::Create/Store
Change-Id: I2d92897d558ad0914e8bbc80b4dec72d0fd00629
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolitem.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index fb0ef21446d0..4fbd3c9f5fd6 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -57,6 +57,7 @@ bool SfxPoolItem::operator==( const SfxPoolItem& rCmp ) const SfxPoolItem* SfxPoolItem::Create(SvStream &, sal_uInt16) const { + assert(!"this item is not serialisable"); return Clone(); } @@ -69,6 +70,7 @@ sal_uInt16 SfxPoolItem::GetVersion( sal_uInt16 ) const SvStream& SfxPoolItem::Store(SvStream &rStream, sal_uInt16 ) const { + assert(!"this item is not serialisable"); return rStream; } |