diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-16 22:15:49 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-08-17 00:19:07 +0200 |
commit | 7e7a83b73dad2a9a2c73826f61a81c4c774d2c9d (patch) | |
tree | 4fd17082583cc9de618f1c00c972e2e4e5dd7b9a /include | |
parent | 253df56952654a571abc76c5ced8af0e2ad72698 (diff) |
SfxItemPool: detect duplicate SlotId mappings
... to prevent problems like fdo#66827.
Sadly the EditEngineItemPool has loads of duplicate slotids already...
Change-Id: I737d71519ce4af06c81f7ecf183cfa6c367026db
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/itempool.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index b50bcb2836a6..6eddcbad8c1c 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -213,8 +213,7 @@ public: bool IsItemFlag( sal_uInt16 nWhich, sal_uInt16 nFlag ) const; bool IsItemFlag( const SfxPoolItem &rItem, sal_uInt16 nFlag ) const { return IsItemFlag( rItem.Which(), nFlag ); } - void SetItemInfos( const SfxItemInfo *pInfos ) - { pItemInfos = pInfos; } + void SetItemInfos( const SfxItemInfo *pInfos ); sal_uInt16 GetWhich( sal_uInt16 nSlot, sal_Bool bDeep = sal_True ) const; sal_uInt16 GetSlotId( sal_uInt16 nWhich, sal_Bool bDeep = sal_True ) const; sal_uInt16 GetTrueWhich( sal_uInt16 nSlot, sal_Bool bDeep = sal_True ) const; |