From 52b8b3d3a55d38c49e183ec5d6ed5cc012f6f1d0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 19 Sep 2014 08:40:23 +0200 Subject: loplugin: cstylecast Change-Id: I75267bf44d0fd36ff316f59300efd31524da36ef --- svl/source/items/lckbitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl/source/items/lckbitem.cxx') diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx index d89eb630cd6d..a203fdbbf7a9 100644 --- a/svl/source/items/lckbitem.cxx +++ b/svl/source/items/lckbitem.cxx @@ -62,7 +62,7 @@ SfxLockBytesItem::~SfxLockBytesItem() bool SfxLockBytesItem::operator==( const SfxPoolItem& rItem ) const { - return ((SfxLockBytesItem&)rItem)._xVal == _xVal; + return static_cast(rItem)._xVal == _xVal; } -- cgit