summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:45:40 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:00:42 +0000
commita6e622480f4cbc9bef65561984810298f317f709 (patch)
tree7dad61784cb73445f98e57fc6cd2436900ac1c50 /chart2/source
parentce343470c385dc8390bbc4bf3e85457c1d55e0ec (diff)
Fix typos
Change-Id: Icf15b5ea2e5b9cd62645bab2f9ccaada948322a7 Reviewed-on: https://gerrit.libreoffice.org/18940 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/Strings.src2
-rw-r--r--chart2/source/controller/dialogs/dlg_ObjectProperties.cxx2
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx2
-rw-r--r--chart2/source/controller/main/ChartDropTargetHelper.cxx2
-rw-r--r--chart2/source/controller/main/ObjectHierarchy.cxx2
-rw-r--r--chart2/source/controller/main/SelectionHelper.cxx2
-rw-r--r--chart2/source/inc/LifeTime.hxx2
-rw-r--r--chart2/source/inc/ObjectIdentifier.hxx2
-rw-r--r--chart2/source/inc/RegressionCalculationHelper.hxx4
-rw-r--r--chart2/source/inc/WeakListenerAdapter.hxx2
-rw-r--r--chart2/source/inc/chartview/ExplicitValueProvider.hxx2
-rw-r--r--chart2/source/tools/ThreeDHelper.cxx2
-rw-r--r--chart2/source/view/charttypes/PieChart.cxx4
-rw-r--r--chart2/source/view/main/ChartView.cxx2
15 files changed, 17 insertions, 17 deletions
diff --git a/chart2/source/controller/dialogs/Strings.src b/chart2/source/controller/dialogs/Strings.src
index d783e0595fe1..c9d18eb62391 100644
--- a/chart2/source/controller/dialogs/Strings.src
+++ b/chart2/source/controller/dialogs/Strings.src
@@ -473,7 +473,7 @@ String STR_ROW_LABEL
Text [ en-US ] = "Row %ROWNUMBER" ;
};
-//for range didalog
+//for range dialog
String STR_DATA_ROLE_LABEL
{
Text [ en-US ] = "Name" ;
diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
index 946bb702cac9..bed7ed6cb38c 100644
--- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
+++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
@@ -176,7 +176,7 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
m_bShowAxisOrigin = true;
}
- //is the crossin main axis a category axes?:
+ //is the crossing main axis a category axes?:
uno::Reference< XCoordinateSystem > xCooSys( AxisHelper::getCoordinateSystemOfAxis( xAxis, xDiagram ) );
uno::Reference< XAxis > xCrossingMainAxis( AxisHelper::getCrossingMainAxis( xAxis, xCooSys ) );
if( xCrossingMainAxis.is() )
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 4b31bb244918..c5999ac63f2c 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -210,7 +210,7 @@ void ChartController::TheModel::tryTermination()
{
//@todo ? are we allowed to use sal_True here if we have the explicit ownership?
//I think yes, because there might be other closelistners later in the list which might be interested still
- //but make sure that we do not throw the CloseVetoException here ourselfs
+ //but make sure that we do not throw the CloseVetoException here ourselves
//so stop listening before trying to terminate or check the source of queryclosing event
m_xCloseable->close(sal_True);
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index dd6ccaf4ed61..ea7fd10ac120 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -1775,7 +1775,7 @@ bool ChartController::impl_moveOrResizeObject(
{
ControllerLockGuardUNO aCLGuard( xChartModel );
xObjProp->setPropertyValue( "RelativePosition", uno::makeAny( aRelPos ));
- if( bNeedResize || (eObjectType == OBJECTTYPE_DIAGRAM) )//Also set an explicat size at the diagram when an explicit position is set
+ if( bNeedResize || (eObjectType == OBJECTTYPE_DIAGRAM) )//Also set an explicit size at the diagram when an explicit position is set
xObjProp->setPropertyValue( "RelativeSize", uno::makeAny( aRelSize ));
}
aUndoGuard.commit();
diff --git a/chart2/source/controller/main/ChartDropTargetHelper.cxx b/chart2/source/controller/main/ChartDropTargetHelper.cxx
index d9722c17ace5..39ffe3714880 100644
--- a/chart2/source/controller/main/ChartDropTargetHelper.cxx
+++ b/chart2/source/controller/main/ChartDropTargetHelper.cxx
@@ -149,7 +149,7 @@ sal_Int8 ChartDropTargetHelper::ExecuteDrop( const ExecuteDropEvent& rEvt )
// copy means add ranges, move means replace
if( rEvt.mnAction == DND_ACTION_COPY )
{
- // @todo: using implcit knowledge that ranges can be
+ // @todo: using implicit knowledge that ranges can be
// merged with ";". This should be done more general
pCellRange->Value <<= (aOldRange + ";" + aRangeString );
}
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx
index ff05b04b4ca5..da568338deab 100644
--- a/chart2/source/controller/main/ObjectHierarchy.cxx
+++ b/chart2/source/controller/main/ObjectHierarchy.cxx
@@ -439,7 +439,7 @@ void ImplObjectHierarchy::createDataSeriesTree(
Reference< chart2::XDataSeries > xSeries( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY );
- // data lablels
+ // data labels
if( DataSeriesHelper::hasDataLabelsAtSeries( xSeries ) )
{
OUString aChildParticle( ObjectIdentifier::getStringForType( OBJECTTYPE_DATA_LABELS ) );
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index dd9090d4fc06..19fc3f3e629e 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -482,7 +482,7 @@ SdrObject* SelectionHelper::getMarkHandlesObject( SdrObject* pObj )
OUString aName( lcl_getObjectName( pObj ) );
if( aName.match("MarkHandles") || aName.match("HandlesOnly") )
return pObj;
- if( !aName.isEmpty() )//dont't get the markhandles of a different object
+ if( !aName.isEmpty() )//don't get the markhandles of a different object
return 0;
//search for a child with name "MarkHandles" or "HandlesOnly"
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx
index 63c9bdadf0c4..715b57351eb4 100644
--- a/chart2/source/inc/LifeTime.hxx
+++ b/chart2/source/inc/LifeTime.hxx
@@ -119,7 +119,7 @@ protected:
};
/*
-Use this Guard in your apicalls to protect access on resources
+Use this Guard in your ApiCalls to protect access on resources
which will be released in dispose.
It's guarantied, that the release of resources only starts if your
guarded call has finished.
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index 937da78571df..7b40bed8bb6b 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -82,7 +82,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS ObjectIdentifier
//where DragMethodServiceName can be a selfdefined servicename for special actions //todo define standard service for this purpose
//where DragParameterString is any string you like to transport information to your special drag service
// only semicolon, colon, equal sign and slash are not allowed characters
- // also the keywors used in the ObjectIdentifiers are not allowed
+ // also the keywords used in the ObjectIdentifiers are not allowed
//where ObjectID: Parent-Particle:Particle //e.g. Series=2:Point=22
//where Particle: Type=ParticleID //e.g. Point=22
diff --git a/chart2/source/inc/RegressionCalculationHelper.hxx b/chart2/source/inc/RegressionCalculationHelper.hxx
index 933f14e45ed0..bd03e1cf9d57 100644
--- a/chart2/source/inc/RegressionCalculationHelper.hxx
+++ b/chart2/source/inc/RegressionCalculationHelper.hxx
@@ -36,11 +36,11 @@ namespace RegressionCalculationHelper
typedef ::std::pair< ::std::vector< double >, ::std::vector< double > > tDoubleVectorPair;
-/** takes the given x- and y-values and copyies them into the resulting pair,
+/** takes the given x- and y-values and copies them into the resulting pair,
which contains x-values in the first element and the y-values in the second
one. All tuples for which aPred is false are not copied.
- <p>The functors below provide a set of useful predicates that can be
+ <p>The function below provide a set of useful predicates that can be
used to pass as parameter aPred.</p>
*/
template< class Pred >
diff --git a/chart2/source/inc/WeakListenerAdapter.hxx b/chart2/source/inc/WeakListenerAdapter.hxx
index dd364a874886..5e971f1b77ac 100644
--- a/chart2/source/inc/WeakListenerAdapter.hxx
+++ b/chart2/source/inc/WeakListenerAdapter.hxx
@@ -39,7 +39,7 @@ namespace chart
<p>Note that in order to remove an object as listener, you have to remove
the same wrapper that you added, i.e., you should store the adapter as a
- member in the adaptee class for later use.</p>
+ member in the adapted class for later use.</p>
*/
template< class Listener >
class WeakListenerAdapter : public
diff --git a/chart2/source/inc/chartview/ExplicitValueProvider.hxx b/chart2/source/inc/chartview/ExplicitValueProvider.hxx
index 3e10044f416e..897f639d53a9 100644
--- a/chart2/source/inc/chartview/ExplicitValueProvider.hxx
+++ b/chart2/source/inc/chartview/ExplicitValueProvider.hxx
@@ -45,7 +45,7 @@ class OOO_DLLPUBLIC_CHARTVIEW ExplicitValueProvider
{
public:
/** Gives calculated scale and increment values for a given xAxis in the current view.
- In contrast to the model data these explicit values are always complete as misssing auto properties are calculated.
+ In contrast to the model data these explicit values are always complete as missing auto properties are calculated.
If the given Axis could not be found or for another reason no correct output can be given false is returned.
*/
virtual bool getExplicitValuesForAxis(
diff --git a/chart2/source/tools/ThreeDHelper.cxx b/chart2/source/tools/ThreeDHelper.cxx
index 79545222b464..4956eef1900d 100644
--- a/chart2/source/tools/ThreeDHelper.cxx
+++ b/chart2/source/tools/ThreeDHelper.cxx
@@ -846,7 +846,7 @@ void ThreeDHelper::convertXYZAngleRadToElevationRotationDeg(
//cosY!=0 sinY!=0 sinX!=0 cosX!=0 sinZ=0
//element 11
R=y;
- //use elenment 13 for sign
+ //use element 13 for sign
if( (cos(x)*cos(z)*sin(y)*sin(R))<0.0 )
R*=-1.0;
//element 22
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx
index dc9b5b23daf7..d8e76e868a5e 100644
--- a/chart2/source/view/charttypes/PieChart.cxx
+++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -126,7 +126,7 @@ PiePositionHelper::~PiePositionHelper()
* When orientation for the radius axis is reversed these values are swapped.
* (Indeed the orientation for the radius axis is always reversed!
* See `PieChartTypeTemplate::adaptScales`.)
- * The maximum relative offset (see notes for P`ieChart::getMaxOffset`) is
+ * The maximum relative offset (see notes for `PieChart::getMaxOffset`) is
* added to both the inner and the outer radius.
* It returns true if the ring is visible (that is not out of the radius
* axis scale range).
@@ -144,7 +144,7 @@ bool PiePositionHelper::getInnerAndOuterRadius( double fCategoryX
if( !isMathematicalOrientationRadius() )
{
- //in this case the given getMaximumX() was not corrcect instead the minimum should have been smaller by fMaxOffset
+ //in this case the given getMaximumX() was not correct instead the minimum should have been smaller by fMaxOffset
//but during getMaximumX and getMimumX we do not know the axis orientation
fLogicInner += fMaxOffset;
fLogicOuter += fMaxOffset;
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 0c386af114f3..80f85f5d2230 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -583,7 +583,7 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
OUString aRole( ChartTypeHelper::getRoleOfSequenceForDataLabelNumberFormatDetection( xChartType ) );
pSeries->setRoleOfSequenceForDataLabelNumberFormatDetection(aRole);
- //ignore secondary axis for charttypes that do not suppoert them
+ //ignore secondary axis for charttypes that do not support them
if( pSeries->getAttachedAxisIndex() != MAIN_AXIS_INDEX &&
!ChartTypeHelper::isSupportingSecondaryAxis( xChartType, nDimensionCount, 1 ) )
{