summaryrefslogtreecommitdiff
path: root/svl/source/items/intitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 10:52:41 +0200
commit7aa7f4d9e4294959748bccf9e763154740251635 (patch)
tree79fc3855ce0cc1141abdda514df374cd42ab259c /svl/source/items/intitem.cxx
parent6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (diff)
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/intitem.cxx')
-rw-r--r--svl/source/items/intitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index c5b16df371ed..6fdd060a9676 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -60,7 +60,7 @@ SfxInt16Item::SfxInt16Item(sal_uInt16 which, SvStream & rStream):
bool SfxInt16Item::operator ==(const SfxPoolItem & rItem) const
{
assert(SfxPoolItem::operator==(rItem));
- return m_nValue == (static_cast< const SfxInt16Item * >(&rItem))->
+ return m_nValue == static_cast< const SfxInt16Item * >(&rItem)->
m_nValue;
}