summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-08 16:40:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-08 16:47:31 +0200
commit0d4a49b23d6a0b206d3901a657d29944ad43007f (patch)
tree6a042588059070bb3b4574c5e64ecaee138f1f01 /include
parent85185f8884278ace3024d38ac16739bf637eae1b (diff)
loplugin:redundantcast: redundant static_casts in sfx2
Change-Id: If51f17f040866bbfb223f11a2571cc9f87f0599f
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/msg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 7a635c9a7d2d..ab7c6bd3ff17 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -111,7 +111,7 @@ struct SfxType
const std::type_info* Type() const{return pType;}
SfxPoolItem* CreateItem() const
- { return static_cast<SfxPoolItem*>(createSfxPoolItemFunc()); }
+ { return createSfxPoolItemFunc(); }
};
struct SfxType0