summaryrefslogtreecommitdiff
path: root/include/svl/itemset.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 10:33:43 +0200
committerNoel Grandin <noel@peralex.com>2014-10-03 15:20:03 +0200
commit0abf268f3893ecc716088aa399e81a1ef31e13d2 (patch)
treeb3b467a7841a85bf30edc0fed73e539e7fcf33a6 /include/svl/itemset.hxx
parent7d7b289da49ccd7979f650222bfb669cd6b623de (diff)
loplugin: cstylecast
Change-Id: I011a0eae37d01606d28c00f8ab3839f20bf309ce
Diffstat (limited to 'include/svl/itemset.hxx')
-rw-r--r--include/svl/itemset.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx
index f2598ef842c5..aab9fb7224f2 100644
--- a/include/svl/itemset.hxx
+++ b/include/svl/itemset.hxx
@@ -34,8 +34,8 @@ typedef SfxPoolItem const** SfxItemArray;
#define USHORT_ARG int
#define SFX_ITEMSET_GET( rSet, pItem, ItemType, nSlotId, bDeep ) \
- const ItemType *pItem = (const ItemType*) \
- (rSet).GetItem( nSlotId, bDeep, TYPE(ItemType) )
+ const ItemType *pItem = static_cast<const ItemType*>( \
+ (rSet).GetItem( nSlotId, bDeep, TYPE(ItemType) ) )
class SVL_DLLPUBLIC SfxItemSet
{