summaryrefslogtreecommitdiff
path: root/svl/source/items/lckbitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-19 08:40:23 +0200
committerNoel Grandin <noel@peralex.com>2014-09-25 14:52:45 +0200
commit52b8b3d3a55d38c49e183ec5d6ed5cc012f6f1d0 (patch)
tree4e0d8fe7d442d985feae45bec82af60dd2efeb35 /svl/source/items/lckbitem.cxx
parentfeea4b250ba72984ca4d53bac44fa7dc9a31f63f (diff)
loplugin: cstylecast
Change-Id: I75267bf44d0fd36ff316f59300efd31524da36ef
Diffstat (limited to 'svl/source/items/lckbitem.cxx')
-rw-r--r--svl/source/items/lckbitem.cxx2
1 files changed, 1 insertions, 1 deletions
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<const SfxLockBytesItem&>(rItem)._xVal == _xVal;
}