summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-05-26 19:41:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-05-27 01:19:00 -0500
commit3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2 (patch)
tree8250ea36b767d906cc6606ab81d198ffda2e8ee1 /chart2
parenta1dedadbf0d87a1db24e9b336257678e059882f0 (diff)
Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/SelectionHelper.cxx2
-rw-r--r--chart2/source/view/axes/VPolarAngleAxis.cxx2
-rw-r--r--chart2/source/view/main/LabelPositionHelper.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index 486f5a6d4ff4..9d0107168e02 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -345,7 +345,7 @@ bool SelectionHelper::findNamedParent( SdrObject*& pInOutObject
{
SdrObjList* pObjList = pObj->GetObjList();
if( !pObjList )
- return false;;
+ return false;
SdrObject* pOwner = pObjList->GetOwnerObj();
if( !pOwner )
return false;
diff --git a/chart2/source/view/axes/VPolarAngleAxis.cxx b/chart2/source/view/axes/VPolarAngleAxis.cxx
index 9d24c5ceeec1..f0d172f9f478 100644
--- a/chart2/source/view/axes/VPolarAngleAxis.cxx
+++ b/chart2/source/view/axes/VPolarAngleAxis.cxx
@@ -185,7 +185,7 @@ void VPolarAngleAxis::createLabels()
, fLogicRadius, fLogicZ
) )
{
- };
+ }
//no staggering for polar angle axis
}
diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx
index cfa023f8d6f6..d1faa2e7dd2b 100644
--- a/chart2/source/view/main/LabelPositionHelper.cxx
+++ b/chart2/source/view/main/LabelPositionHelper.cxx
@@ -333,7 +333,7 @@ void lcl_correctRotation_Left_Bottom( double& rfXCorrection, double& rfYCorrecti
{
double beta = fAnglePi-F_PI/2.0;
rfXCorrection = -aSize.Width*rtl::math::sin( beta )
- -aSize.Height*rtl::math::cos( beta );;
+ -aSize.Height*rtl::math::cos( beta );
rfYCorrection = aSize.Height*rtl::math::sin( beta );
}
else if( fAnglePositiveDegree<= 270.0 )