summaryrefslogtreecommitdiff
path: root/chart2/source/controller/itemsetwrapper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-21 08:24:48 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:14 +0200
commitcb414252b8d5fcff516291ed4b9db75933e5331a (patch)
tree41011241dd6e3145fb21f8429be56d750a3290f5 /chart2/source/controller/itemsetwrapper
parentc7cacf639d873e33cd98c56a0006d877b132341e (diff)
loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
Diffstat (limited to 'chart2/source/controller/itemsetwrapper')
-rw-r--r--chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
index 49cd67fef545..26d3038f9b76 100644
--- a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
@@ -125,7 +125,7 @@ bool LegendItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSe
const SfxPoolItem* pPoolItem = NULL;
if( rInItemSet.GetItemState( SCHATTR_LEGEND_POS, true, &pPoolItem ) == SfxItemState::SET )
{
- chart2::LegendPosition eNewPos = static_cast<chart2::LegendPosition>(((const SfxInt32Item*)pPoolItem)->GetValue());
+ chart2::LegendPosition eNewPos = static_cast<chart2::LegendPosition>(static_cast<const SfxInt32Item*>(pPoolItem)->GetValue());
::com::sun::star::chart::ChartLegendExpansion eExpansion = ::com::sun::star::chart::ChartLegendExpansion_HIGH;
switch( eNewPos )