diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 08:24:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:14 +0200 |
commit | cb414252b8d5fcff516291ed4b9db75933e5331a (patch) | |
tree | 41011241dd6e3145fb21f8429be56d750a3290f5 /chart2/source/controller/dialogs/res_ErrorBar.cxx | |
parent | c7cacf639d873e33cd98c56a0006d877b132341e (diff) |
loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index d32d63ca98c4..a211f3de02bc 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -500,7 +500,7 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs) m_bErrorKindUnique = ( aState != SfxItemState::DONTCARE ); if( aState == SfxItemState::SET ) - m_eErrorKind = ((const SvxChartKindErrorItem*) pPoolItem)->GetValue(); + m_eErrorKind = static_cast<const SvxChartKindErrorItem*>(pPoolItem)->GetValue(); m_pLbFunction->SelectEntryPos( lcl_getLbEntryPosByErrorKind( m_eErrorKind )); @@ -541,14 +541,14 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs) m_bPlusUnique = ( aState != SfxItemState::DONTCARE ); if( aState == SfxItemState::SET ) { - m_fPlusValue = ((const SvxDoubleItem*) pPoolItem)->GetValue(); + m_fPlusValue = static_cast<const SvxDoubleItem*>(pPoolItem)->GetValue(); } aState = rInAttrs.GetItemState( SCHATTR_STAT_CONSTMINUS, true, &pPoolItem ); m_bMinusUnique = ( aState != SfxItemState::DONTCARE ); if( aState == SfxItemState::SET ) { - m_fMinusValue = ((const SvxDoubleItem*) pPoolItem)->GetValue(); + m_fMinusValue = static_cast<const SvxDoubleItem*>(pPoolItem)->GetValue(); if( m_eErrorKind != CHERROR_RANGE && m_fPlusValue == m_fMinusValue ) @@ -559,7 +559,7 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs) aState = rInAttrs.GetItemState( SCHATTR_STAT_INDICATE, true, &pPoolItem ); m_bIndicatorUnique = ( aState != SfxItemState::DONTCARE ); if( aState == SfxItemState::SET) - m_eIndicate = ((const SvxChartIndicateItem * ) pPoolItem)->GetValue(); + m_eIndicate = static_cast<const SvxChartIndicateItem *>(pPoolItem)->GetValue(); if( m_bIndicatorUnique ) { |