summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-09-10 08:11:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-09-10 08:11:19 +0200
commit581a04f2ce1db710186f2c11585eadd1ff32440d (patch)
tree80ae127ab147116e850320ad52cb4b8047521698 /chart2
parentda25c271cec8721d2ae5907da1de9fdcf7e2eb4c (diff)
Some cppcheck cleaning
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VPolarGrid.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/chart2/source/view/axes/VPolarGrid.cxx b/chart2/source/view/axes/VPolarGrid.cxx
index 1d9a3cbb712e..f3183011b5d8 100644
--- a/chart2/source/view/axes/VPolarGrid.cxx
+++ b/chart2/source/view/axes/VPolarGrid.cxx
@@ -131,19 +131,13 @@ void VPolarGrid::create2DAngleGrid( const Reference< drawing::XShapes >& xLogicT
double fLogicInnerRadius = m_pPosHelper->getInnerLogicRadius();
double fLogicOuterRadius = m_pPosHelper->getOuterLogicRadius();
- double fLogicZ = 1.0;//as defined
sal_Int32 nLinePropertiesCount = rLinePropertiesList.size();
::std::vector< ::std::vector< TickInfo > >::iterator aDepthIter = rAngleTickInfos.begin();
- sal_Int32 nDepth=0;
- /*
- //no subgrids so far for polar angle grid (need different radii)
- const ::std::vector< ::std::vector< TickInfo > >::const_iterator aDepthEnd = rAngleTickInfos.end();
- for( ; aDepthIter != aDepthEnd && nDepth < nLinePropertiesCount
- ; aDepthIter++, nDepth++ )
- */
if(nLinePropertiesCount)
{
+ double fLogicZ = 1.0;//as defined
+ sal_Int32 nDepth=0;
//create axis main lines
drawing::PointSequenceSequence aAllPoints;
::std::vector< TickInfo >::iterator aTickIter = (*aDepthIter).begin();