summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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