diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-02-06 23:21:40 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-02-06 23:22:30 +0100 |
commit | ac6e8ac7e407887a18bca6c835f85e372a4d0932 (patch) | |
tree | 4011854fc6beb6c4bf03fc278efeeffddedae7d0 /chart2 | |
parent | 31ae0011352faa834da8969559430935e81d479f (diff) |
typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
Diffstat (limited to 'chart2')
4 files changed, 7 insertions, 7 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx index 084d57109379..0559a18fefc6 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx @@ -138,7 +138,7 @@ private: //this should only be used, if the DataSeriesPointWrapper is initialized via the XInitialize interface //because a big change in the chartmodel may leed to an dataseriespointer thats not connected to the model anymore - //with the indices instead we are can aleays get the new dataseries + //with the indices instead we are can always get the new dataseries ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > m_xDataSeries; }; diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 71a816d41ca1..70269b40ae0f 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -1173,7 +1173,7 @@ void VCartesianAxis::get2DAxisMainLine( B2DVector& rStart, B2DVector& rEnd, doub ScreenPosAndLogicPos aNotSoGoodPos( aPosList[1] ); //choose most bottom positions - if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right algnments + if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right alignments { if( aBestPos.aScreenPos.getX() > aNotSoGoodPos.aScreenPos.getX() ) m_aAxisProperties.m_aLabelAlignment = LABEL_ALIGN_RIGHT; diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index 848a6b866a3d..e770b4b15c60 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -94,7 +94,7 @@ private: */ void Calculate(); - /** @descr this function corresponds to the algoritm 4.76 in [2] and + /** @descr this function corresponds to the algorithm 4.76 in [2] and theorem 5.3.7 in [3] [2] Engeln-Mllges, Gisela: Numerik-Algorithmen: Verfahren, Beispiele, Anwendungen diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index a07d26297887..d292c304fabf 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -570,8 +570,8 @@ void VDiagram::createShapes_3d() //perspective { - //ignore distance and focal length from file format and model comcpletely - //use vrp only to indicate the distance of the camera and thus influence the perspecitve + //ignore distance and focal length from file format and model completely + //use vrp only to indicate the distance of the camera and thus influence the perspective xDestProp->setPropertyValue( UNO_NAME_3D_SCENE_DISTANCE, uno::makeAny( static_cast<sal_Int32>(ThreeDHelper::getCameraDistance( xSourceProp )))); xDestProp->setPropertyValue( UNO_NAME_3D_SCENE_PERSPECTIVE, @@ -591,9 +591,9 @@ void VDiagram::createShapes_3d() //rotation { - //set diagrams rotation is set exclusively vie the transformation matrix + //set diagrams rotation is set exclusively via the transformation matrix //don't set a camera at all! - //the cameras rotation is incorporated into this matrix + //the camera's rotation is incorporated into this matrix ::basegfx::B3DHomMatrix aEffectiveTranformation; aEffectiveTranformation.translate(-FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0, -FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0, -FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0); |