summaryrefslogtreecommitdiff
path: root/include/svx/ofaitem.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:45 +0200
commita52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch)
tree9e03f530d36c1c65f0db9d8698677e802137b3bb /include/svx/ofaitem.hxx
parentc266ba458f444e5f4a4bafbf4073710c31897536 (diff)
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'include/svx/ofaitem.hxx')
-rw-r--r--include/svx/ofaitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/ofaitem.hxx b/include/svx/ofaitem.hxx
index cc648b9cc134..482f9fefadc0 100644
--- a/include/svx/ofaitem.hxx
+++ b/include/svx/ofaitem.hxx
@@ -57,7 +57,7 @@ public:
{}
virtual bool operator==( const SfxPoolItem& rItem ) const SAL_OVERRIDE
{
- return mxRef == ((OfaRefItem<reference_type> &)rItem).mxRef;
+ return mxRef == static_cast<OfaRefItem<reference_type> const &>(rItem).mxRef;
}
virtual SfxPoolItem*Clone( SfxItemPool* /*pPool = 0*/ ) const SAL_OVERRIDE
{