summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-16 22:15:49 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-17 00:19:07 +0200
commit7e7a83b73dad2a9a2c73826f61a81c4c774d2c9d (patch)
tree4fd17082583cc9de618f1c00c972e2e4e5dd7b9a /include/svl
parent253df56952654a571abc76c5ced8af0e2ad72698 (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/svl')
-rw-r--r--include/svl/itempool.hxx3
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;