chart2/source/controller/dialogs/Strings.src | 2 +- chart2/source/controller/dialogs/dlg_ObjectProperties.cxx | 2 +- chart2/source/controller/main/ChartController.cxx | 2 +- chart2/source/controller/main/ChartController_Window.cxx | 2 +- chart2/source/controller/main/ChartDropTargetHelper.cxx | 2 +- chart2/source/controller/main/ObjectHierarchy.cxx | 2 +- chart2/source/controller/main/SelectionHelper.cxx | 2 +- chart2/source/inc/LifeTime.hxx | 2 +- chart2/source/inc/ObjectIdentifier.hxx | 2 +- chart2/source/inc/RegressionCalculationHelper.hxx | 4 ++-- chart2/source/inc/WeakListenerAdapter.hxx | 2 +- chart2/source/inc/chartview/ExplicitValueProvider.hxx | 2 +- chart2/source/tools/ThreeDHelper.cxx | 2 +- chart2/source/view/charttypes/PieChart.cxx | 4 ++-- chart2/source/view/main/ChartView.cxx | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-)
New commits: commit a6e622480f4cbc9bef65561984810298f317f709 Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Tue Sep 29 17:45:40 2015 +0200 Fix typos Change-Id: Icf15b5ea2e5b9cd62645bab2f9ccaada948322a7 Reviewed-on: https://gerrit.libreoffice.org/18940 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/chart2/source/controller/dialogs/Strings.src b/chart2/source/controller/dialogs/Strings.src index d783e05..c9d18eb 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 946bb70..bed7ed6 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 4b31bb2..c5999ac 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 dd6ccaf4..ea7fd10 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 d9722c1..39ffe37 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 ff05b04..da56833 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 dd9090d..19fc3f3 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 63c9bda..715b573 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 937da78..7b40bed 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 933f14e..bd03e1c 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 dd364a8..5e971f1 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 3e10044..897f639 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 7954522..4956eef 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 dc9b5b2..d8e76e8 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 0c386af..80f85f5 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 ) ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits