summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 11:11:44 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 13:08:43 +0200
commite5bf214ebb58637d1af89ea137c8952a46f14ef4 (patch)
tree7a67f0e81a7cb5563726c9b2dab1008a41c5e032 /include
parent4923ac72aaca2f0671aed98de33902eac0810131 (diff)
loplugin: cstylecast
Change-Id: I6ea98852ba775d85ccd54823b67224ea7f587c65
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/app.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 5c456af41ded..41a3130d95f6 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -108,7 +108,7 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* = 0 ) const SAL_OVERRIDE
{ return new SfxLinkItem( *this ); }
virtual bool operator==( const SfxPoolItem& rL) const SAL_OVERRIDE
- { return ((SfxLinkItem&)rL).aLink == aLink; }
+ { return static_cast<const SfxLinkItem&>(rL).aLink == aLink; }
SfxLinkItem( sal_uInt16 nWhichId, const Link& rValue ) : SfxPoolItem( nWhichId )
{ aLink = rValue; }
const Link& GetValue() const { return aLink; }