summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:20:59 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:23:17 +0000
commitffa8892c5a929ac121fc7b1020d8f6b5b3cf45be (patch)
tree4633fab92c7f808a932025491e97c5b62509b7f9 /chart2
parent3dfdd18707019c49723ad98e74f5202a3ae436f7 (diff)
Fix typos
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/chartapiwrapper/LegendWrapper.cxx2
-rw-r--r--chart2/source/inc/chartview/ExplicitScaleValues.hxx2
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx2
-rw-r--r--chart2/source/view/charttypes/Splines.cxx2
-rw-r--r--chart2/source/view/inc/GL3DRenderer.hxx2
-rw-r--r--chart2/source/view/inc/PlottingPositionHelper.hxx2
-rw-r--r--chart2/source/view/main/PolarLabelPositionHelper.cxx2
-rw-r--r--chart2/source/view/main/ShapeFactory.cxx2
-rw-r--r--chart2/workbench/addin/makefile.mk2
9 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
index 755b78ecbcaa..2ad533da04e3 100644
--- a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
@@ -412,7 +412,7 @@ const std::vector< WrappedProperty* > LegendWrapper::createWrappedProperties()
aWrappedProperties.push_back( new WrappedLegendAlignmentProperty() );
aWrappedProperties.push_back( new WrappedProperty( "Expansion", "Expansion"));
WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, this );
- //same problem as for wall: thje defaults ion the old chart are different for different charttypes, so we need to export explicitly
+ //same problem as for wall: the defaults in the old chart are different for different charttypes, so we need to export explicitly
aWrappedProperties.push_back( new WrappedDirectStateProperty("FillStyle", "FillStyle"));
aWrappedProperties.push_back( new WrappedDirectStateProperty("FillColor", "FillColor"));
WrappedAutomaticPositionProperties::addWrappedProperties( aWrappedProperties );
diff --git a/chart2/source/inc/chartview/ExplicitScaleValues.hxx b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
index 11b8682d4330..4eea76d68c5a 100644
--- a/chart2/source/inc/chartview/ExplicitScaleValues.hxx
+++ b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
@@ -142,7 +142,7 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
distance between two neighboring main tickmarks is divided for positioning
of further sub tickmarks. Every following SubIncrement determines the
positions of subsequent tickmarks in relation to their parent tickmarks
- iven by the preceding SubIncrement.</p>
+ given by the preceding SubIncrement.</p>
*/
::std::vector< ExplicitSubIncrement > SubIncrements;
};
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 85461bf0aa85..fd48b5cb8935 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -1088,7 +1088,7 @@ B2DVector VCartesianAxis::getScreenPosition( double fLogicX, double fLogicY, dou
}
else
{
- OSL_FAIL("cannot calculate scrren position in VCartesianAxis::getScreenPosition");
+ OSL_FAIL("cannot calculate screen position in VCartesianAxis::getScreenPosition");
}
}
else
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index c57acb649601..5b906b6a084a 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -203,7 +203,7 @@ void lcl_SplineCalculation::Calculate()
m_aSecDerivY[ n ] = ( un - qn * u[ n - 1 ] ) * ( qn * m_aSecDerivY[ n - 1 ] + 1.0 );
// note: the algorithm in [1] iterates from n-1 to 0, but as size_type
- // may be (usuall is) an unsigned type, we can not write k >= 0, as this
+ // may be (usually is) an unsigned type, we can not write k >= 0, as this
// is always true.
for( lcl_tSizeType k = n; k > 0; --k )
{
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx b/chart2/source/view/inc/GL3DRenderer.hxx
index 4403b2e0ca18..6ad57688bd7c 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -304,7 +304,7 @@ private:
GLint m_3DMinCoordXID;
GLint m_3DMaxCoordXID;
GLint m_3DUndrawID;
- //300 verson;
+ //300 version;
GLint m_3DMaterialAmbientID;
GLint m_3DMaterialDiffuseID;
GLint m_3DMaterialSpecularID;
diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx
index 4e6e64d8e38c..9ffcb5c57c13 100644
--- a/chart2/source/view/inc/PlottingPositionHelper.hxx
+++ b/chart2/source/view/inc/PlottingPositionHelper.hxx
@@ -135,7 +135,7 @@ protected: //member
bool m_bAllowShiftZAxisPos;
};
-//describes which axis of the drawinglayer scene or sreen axis are the normal axis
+//describes which axis of the drawinglayer scene or screen axis are the normal axis
enum NormalAxis
{
NormalAxis_X
diff --git a/chart2/source/view/main/PolarLabelPositionHelper.cxx b/chart2/source/view/main/PolarLabelPositionHelper.cxx
index d1fbee7b2486..b6053cb04d3a 100644
--- a/chart2/source/view/main/PolarLabelPositionHelper.cxx
+++ b/chart2/source/view/main/PolarLabelPositionHelper.cxx
@@ -72,7 +72,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
double fAngleDegree = fUnitCircleStartAngleDegree + fUnitCircleWidthAngleDegree/2.0;
double fRadius = 0.0;
- if( !bCenter ) //e.g. for pure pie chart(one ring only) or for angle axis of polyar coordinate system
+ if( !bCenter ) //e.g. for pure pie chart(one ring only) or for angle axis of polar coordinate system
fRadius = fUnitCircleOuterRadius;
else
fRadius = fUnitCircleInnerRadius + (fUnitCircleOuterRadius-fUnitCircleInnerRadius)/2.0 ;
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx
index 1251eafbfb49..a050730acb95 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -1075,7 +1075,7 @@ uno::Reference< drawing::XShape >
, uno::makeAny( true) );
//the z component of the polygon is now ignored by the drawing layer,
- //so we nned to translate the object via transformation matrix
+ //so we need to translate the object via transformation matrix
//Matrix for position
if( rPolyPolygon.SequenceZ.getLength()&& rPolyPolygon.SequenceZ[0].getLength() )
diff --git a/chart2/workbench/addin/makefile.mk b/chart2/workbench/addin/makefile.mk
index fb8136af3c74..a7f8c5f0a2e2 100644
--- a/chart2/workbench/addin/makefile.mk
+++ b/chart2/workbench/addin/makefile.mk
@@ -36,7 +36,7 @@ INCPRE+=$(UNOUCROUT)
# --- Types -------------------------------------
-# comprehensive type info, so rdb needn't be installed
+# comprehensive type info, so rdb need not to be installed
# CPPUMAKERFLAGS*=-C
# UNOTYPES=\