summaryrefslogtreecommitdiff
path: root/include/sfx2/request.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/request.hxx')
-rw-r--r--include/sfx2/request.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index 35eb7b1a4cc9..a47f96292624 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -113,11 +113,11 @@ private:
#define SFX_REQUEST_ARG(rReq, pItem, ItemType, nSlotId, bDeep) \
- const ItemType *pItem = (const ItemType*) \
- rReq.GetArg( nSlotId, bDeep, TYPE(ItemType) )
+ const ItemType *pItem = static_cast<const ItemType*>( \
+ rReq.GetArg( nSlotId, bDeep, TYPE(ItemType) ) )
#define SFX_ITEMSET_ARG(pArgs, pItem, ItemType, nSlotId, bDeep) \
- const ItemType *pItem = (const ItemType*) \
- SfxRequest::GetItem( pArgs, nSlotId, bDeep, TYPE(ItemType) )
+ const ItemType *pItem = static_cast<const ItemType*>( \
+ SfxRequest::GetItem( pArgs, nSlotId, bDeep, TYPE(ItemType) ) )
#endif