diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 14:18:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-28 08:11:25 +0200 |
commit | 223a5b75457e38d70db63f3992ff601c3e381639 (patch) | |
tree | 54c0bebc16022a71a98983721411dfd2fe65fd2f /sc/source/ui/unoobj/afmtuno.cxx | |
parent | 788e9b9f39e2e074a146642be60df4d005018356 (diff) |
loplugin: cstylecast
Change-Id: Icc349df0cb3ce45a0985c7c3c27be24ef81e8705
Diffstat (limited to 'sc/source/ui/unoobj/afmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index bf6d3f552745..cf927611a8c1 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -799,9 +799,9 @@ uno::Any SAL_CALL ScAutoFormatFieldObj::getPropertyValue( const OUString& aPrope { case ATTR_STACKED: { - const SfxInt32Item* pRotItem = (const SfxInt32Item*)pData->GetItem( nFieldIndex, ATTR_ROTATE_VALUE ); + const SfxInt32Item* pRotItem = static_cast<const SfxInt32Item*>(pData->GetItem( nFieldIndex, ATTR_ROTATE_VALUE )); sal_Int32 nRot = pRotItem ? pRotItem->GetValue() : 0; - bool bStacked = ((const SfxBoolItem*)pItem)->GetValue(); + bool bStacked = static_cast<const SfxBoolItem*>(pItem)->GetValue(); SvxOrientationItem( nRot, bStacked, 0 ).QueryValue( aVal ); } break; |