summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxgrahicitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-20 11:52:06 +0200
committerNoel Grandin <noel@peralex.com>2014-10-20 13:33:58 +0200
commit3bb30a68e0604b3006f367fdb4c0a797846c23bc (patch)
treec5f5d11d9a0656c92ff7196984ca9238df2e89ee /svx/source/dialog/svxgrahicitem.cxx
parentefa7f1a549ebf2580d50f6f0bb96e294a5fce670 (diff)
loplugin: cstylecast
Change-Id: If50022b55a558c4124d71acbbe0ef5eb48801d0b
Diffstat (limited to 'svx/source/dialog/svxgrahicitem.cxx')
-rw-r--r--svx/source/dialog/svxgrahicitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/svxgrahicitem.cxx b/svx/source/dialog/svxgrahicitem.cxx
index f845495a93b6..ff040edd7095 100644
--- a/svx/source/dialog/svxgrahicitem.cxx
+++ b/svx/source/dialog/svxgrahicitem.cxx
@@ -31,7 +31,7 @@ SvxGraphicItem::SvxGraphicItem( const SvxGraphicItem& rItem)
bool SvxGraphicItem::operator==( const SfxPoolItem& rItem) const
{
- return ((SvxGraphicItem&)rItem).aGraphic == aGraphic;
+ return static_cast<const SvxGraphicItem&>(rItem).aGraphic == aGraphic;
}
SfxPoolItem* SvxGraphicItem::Clone( SfxItemPool * ) const