diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 07:27:28 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 12:12:26 +0200 |
commit | 67fe42070332709823f0b00e6311809bc3e5341c (patch) | |
tree | 68362fef0a62d78e32db2085127ce3ca89825773 /include | |
parent | 901f6da81b5006d33d7ad1f97b70f4c60708d609 (diff) |
sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/request.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx index e9ac976a5025..8155aa5b0e57 100644 --- a/include/sfx2/request.hxx +++ b/include/sfx2/request.hxx @@ -118,9 +118,9 @@ template<class T> bool checkSfxPoolItem(const SfxPoolItem* pItem) #define SFX_REQUEST_ARG(rReq, pItem, ItemType, nSlotId, bDeep) \ const ItemType *pItem = static_cast<const ItemType*>( \ rReq.GetArg( nSlotId, bDeep, checkSfxPoolItem<ItemType> ) ) -#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId, bDeep) \ +#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId) \ const ItemType *pItem = static_cast<const ItemType*>( \ - SfxRequest::GetItem( pArgs, nSlotId, bDeep, checkSfxPoolItem<ItemType> ) ) + SfxRequest::GetItem( pArgs, nSlotId, false, checkSfxPoolItem<ItemType> ) ) #endif |