summaryrefslogtreecommitdiff
path: root/svl/source/items/macitem.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/macitem.cxx
parentfeea4b250ba72984ca4d53bac44fa7dc9a31f63f (diff)
loplugin: cstylecast
Change-Id: I75267bf44d0fd36ff316f59300efd31524da36ef
Diffstat (limited to 'svl/source/items/macitem.cxx')
-rw-r--r--svl/source/items/macitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 3c0ff239275d..e92109373f89 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -192,7 +192,7 @@ bool SvxMacroItem::operator==( const SfxPoolItem& rAttr ) const
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" );
const SvxMacroTableDtor& rOwn = aMacroTable;
- const SvxMacroTableDtor& rOther = ( (SvxMacroItem&) rAttr ).aMacroTable;
+ const SvxMacroTableDtor& rOther = static_cast<const SvxMacroItem&>(rAttr).aMacroTable;
return rOwn == rOther;
}