summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/tp_PolarOptions.cxx
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/dialogs/tp_PolarOptions.cxx
parentRename --enable-sal-info to --enable-sal-log (diff)
downloadcore-cb414252b8d5fcff516291ed4b9db75933e5331a.tar.gz
core-cb414252b8d5fcff516291ed4b9db75933e5331a.zip
loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
Diffstat (limited to 'chart2/source/controller/dialogs/tp_PolarOptions.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_PolarOptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx
index 32b09b5398ff..dbd0c460df28 100644
--- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx
+++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx
@@ -76,7 +76,7 @@ void PolarOptionsTabPage::Reset(const SfxItemSet* rInAttrs)
if (rInAttrs->GetItemState(SCHATTR_STARTING_ANGLE, true, &pPoolItem) == SfxItemState::SET)
{
- long nTmp = (long)((const SfxInt32Item*)pPoolItem)->GetValue();
+ long nTmp = (long)static_cast<const SfxInt32Item*>(pPoolItem)->GetValue();
m_pAngleDial->SetRotation( nTmp*100 );
}
else