summaryrefslogtreecommitdiff
path: root/chart2/source/tools/CommonConverters.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/CommonConverters.cxx')
-rw-r--r--chart2/source/tools/CommonConverters.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx
index 1dd6359b4d84..011564aebe3d 100644
--- a/chart2/source/tools/CommonConverters.cxx
+++ b/chart2/source/tools/CommonConverters.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -130,8 +130,8 @@ drawing::HomogenMatrix3 B2DHomMatrixToHomogenMatrix3( const ::basegfx::B2DHomMat
::basegfx::B3DPoint Position3DToB3DPoint( const drawing::Position3D& rPosition )
{
return ::basegfx::B3DPoint(
- rPosition.PositionX ,
- rPosition.PositionY ,
+ rPosition.PositionX ,
+ rPosition.PositionY ,
rPosition.PositionZ );
}
@@ -200,7 +200,7 @@ void AddPointToPoly( drawing::PolyPolygonShape3D& rPoly, const drawing::Position
drawing::Position3D getPointFromPoly( const drawing::PolyPolygonShape3D& rPolygon, sal_Int32 nPointIndex, sal_Int32 nPolyIndex )
{
drawing::Position3D aRet(0.0,0.0,0.0);
-
+
if( nPolyIndex>=0 && nPolyIndex<rPolygon.SequenceX.getLength())
{
if(nPointIndex<rPolygon.SequenceX[nPolyIndex].getLength())
@@ -353,7 +353,7 @@ void appendPointSequence( drawing::PointSequenceSequence& rTarget
if(!nAddCount)
return;
sal_Int32 nOldCount = rTarget.getLength();
-
+
rTarget.realloc(nOldCount+nAddCount);
for(sal_Int32 nS=0; nS<nAddCount; nS++ )
rTarget[nOldCount+nS]=rAdd[nS];