summaryrefslogtreecommitdiffstats
path: root/include/sfx2/request.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 07:36:46 +0200
committerNoel Grandin <noel@peralex.com>2014-10-02 07:37:20 +0200
commit039b887c54fd7e8cd8a4964d1633fdfc300e938e (patch)
treef65f1ea0296ea30bccb1dc79bf1066e718bc517e /include/sfx2/request.hxx
parentloplugin: cstylecast (diff)
downloadcore-039b887c54fd7e8cd8a4964d1633fdfc300e938e.tar.gz
core-039b887c54fd7e8cd8a4964d1633fdfc300e938e.zip
loplugin: cstylecast
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
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