From 67fe42070332709823f0b00e6311809bc3e5341c Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 16 Oct 2015 07:27:28 +0200 Subject: sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false. Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1 --- include/sfx2/request.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 bool checkSfxPoolItem(const SfxPoolItem* pItem) #define SFX_REQUEST_ARG(rReq, pItem, ItemType, nSlotId, bDeep) \ const ItemType *pItem = static_cast( \ rReq.GetArg( nSlotId, bDeep, checkSfxPoolItem ) ) -#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId, bDeep) \ +#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId) \ const ItemType *pItem = static_cast( \ - SfxRequest::GetItem( pArgs, nSlotId, bDeep, checkSfxPoolItem ) ) + SfxRequest::GetItem( pArgs, nSlotId, false, checkSfxPoolItem ) ) #endif -- cgit