diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-02-02 12:32:52 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-02-02 12:33:58 +0100 |
commit | cab37910766c544281c68795a1b7498ee6a24a84 (patch) | |
tree | b9745fcad4ef2e24252724fe12a968d7dda90c3f /chart2/source/controller/dialogs/tp_PolarOptions.cxx | |
parent | c58b67eaf3598c249364982615501eb296bda8be (diff) |
Some cppcheck cleaning
Diffstat (limited to 'chart2/source/controller/dialogs/tp_PolarOptions.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_PolarOptions.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index 267ccf81a60e..e71f29c54d9f 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -87,10 +87,9 @@ void PolarOptionsTabPage::Reset(const SfxItemSet& rInAttrs) { const SfxPoolItem *pPoolItem = NULL; - long nTmp; if (rInAttrs.GetItemState(SCHATTR_STARTING_ANGLE, TRUE, &pPoolItem) == SFX_ITEM_SET) { - nTmp = (long)((const SfxInt32Item*)pPoolItem)->GetValue(); + long nTmp = (long)((const SfxInt32Item*)pPoolItem)->GetValue(); m_aAngleDial.SetRotation( nTmp*100 ); } |