summaryrefslogtreecommitdiff
path: root/include/sfx2/request.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-10-16 07:54:12 +0200
committerJan Holesovsky <kendy@collabora.com>2015-10-16 12:12:27 +0200
commit427c5dc6e0f817253b2f8cd7727e447ac4f4d656 (patch)
treeb79121a9292f90bd4712d3895a498aac121de471 /include/sfx2/request.hxx
parent67fe42070332709823f0b00e6311809bc3e5341c (diff)
sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
Diffstat (limited to 'include/sfx2/request.hxx')
-rw-r--r--include/sfx2/request.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index 8155aa5b0e57..9b6e54dd9409 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -115,9 +115,9 @@ template<class T> bool checkSfxPoolItem(const SfxPoolItem* pItem)
return dynamic_cast<const T*>(pItem) != nullptr;
}
-#define SFX_REQUEST_ARG(rReq, pItem, ItemType, nSlotId, bDeep) \
+#define SFX_REQUEST_ARG(rReq, pItem, ItemType, nSlotId) \
const ItemType *pItem = static_cast<const ItemType*>( \
- rReq.GetArg( nSlotId, bDeep, checkSfxPoolItem<ItemType> ) )
+ rReq.GetArg( nSlotId, false, checkSfxPoolItem<ItemType> ) )
#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId) \
const ItemType *pItem = static_cast<const ItemType*>( \
SfxRequest::GetItem( pArgs, nSlotId, false, checkSfxPoolItem<ItemType> ) )