diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/qa/extras/chart2import.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 6 | ||||
-rw-r--r-- | chart2/source/controller/main/UndoGuard.hxx | 2 | ||||
-rw-r--r-- | chart2/source/model/filter/XMLFilter.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/template/ChartTypeTemplate.hxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/DiagramHelper.cxx | 4 | ||||
-rw-r--r-- | chart2/source/tools/RelativePositionHelper.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/ThreeDHelper.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/charttypes/PieChart.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/inc/Stripe.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/inc/VSeriesPlotter.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/inc/ViewDefines.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/Clipping.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 2 |
14 files changed, 17 insertions, 17 deletions
diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx index 6847aeb50bb9..75b0f9c474c4 100644 --- a/chart2/qa/extras/chart2import.cxx +++ b/chart2/qa/extras/chart2import.cxx @@ -766,7 +766,7 @@ void Chart2ImportTest::testAxisTextRotationXLSX() /* TODO : temporarily disabled. void Chart2ImportTest::testTextCanOverlapXLSX() { - // fdo#84647 : To check textoverlap value is imported correclty. + // fdo#84647 : To check textoverlap value is imported correctly. load("/chart2/qa/extras/data/xlsx/", "chart-text-can-overlap.xlsx"); uno::Reference< chart::XDiagram > mxDiagram; uno::Reference< beans::XPropertySet > xAxisProp; diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 020541d667e4..211fccd9f5c3 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -869,7 +869,7 @@ void SAL_CALL ChartController::dispose() //the accessible view is disposed within window destructor of m_pChartWindow m_pChartWindow->clear(); - m_pChartWindow = nullptr;//m_pChartWindow is deleted via UNO due to dispose of m_xViewWindow (trigerred by Framework (Controller pretends to be XWindow also)) + m_pChartWindow = nullptr;//m_pChartWindow is deleted via UNO due to dispose of m_xViewWindow (triggered by Framework (Controller pretends to be XWindow also)) m_xViewWindow->dispose(); m_xChartView.clear(); } @@ -964,7 +964,7 @@ void SAL_CALL ChartController::queryClosing( return; } - if( !m_bCanClose )//@todo tryaqcuire mutex + if( !m_bCanClose )//@todo try acquire mutex { if( bGetsOwnership ) { @@ -1416,7 +1416,7 @@ void ChartController::executeDispatch_MoveSeries( bool bForward ) //get selected series OUString aObjectCID(m_aSelection.getSelectedCID()); - uno::Reference< XDataSeries > xGivenDataSeries( ObjectIdentifier::getDataSeriesForCID( //yyy todo also legendentries and labels? + uno::Reference< XDataSeries > xGivenDataSeries( ObjectIdentifier::getDataSeriesForCID( //yyy todo also legend entries and labels? aObjectCID, getModel() ) ); UndoGuardWithSelection aUndoGuard( diff --git a/chart2/source/controller/main/UndoGuard.hxx b/chart2/source/controller/main/UndoGuard.hxx index 0b41f9832a27..167b8c6c5428 100644 --- a/chart2/source/controller/main/UndoGuard.hxx +++ b/chart2/source/controller/main/UndoGuard.hxx @@ -63,7 +63,7 @@ private: }; /** A guard which, in its destructor, restores the model state it found in the constructor. If - <member>commitAction</member> is called inbetween, the restouration is not performed. + <member>commitAction</member> is called inbetween, the restoration is not performed. */ class UndoLiveUpdateGuard : public UndoGuard { diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index dc49724c4776..c18ac15632b1 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -364,7 +364,7 @@ sal_Int32 XMLFilter::impl_Import( // Set base URI and Hierarchical Name OUString aHierarchName, aBaseUri; - // why retrieve this from the model when it's availabe as rMediaDescriptor? + // why retrieve this from the model when it's available as rMediaDescriptor? uno::Reference<frame::XModel> const xModel(m_xTargetDoc, uno::UNO_QUERY); if( xModel.is() ) { diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 629f32e4f9cc..8b038240b047 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -146,7 +146,7 @@ protected: // Methods for creating the diagram piecewise - /** Allows derived classes to manipulate the diagramas whole, like changing + /** Allows derived classes to manipulate the diagrams whole, like changing the wall color. The default implementation is empty. It is called by FillDiagram which is called by createDiagramByDataSource and changeDiagram diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index 9a66d5308712..5f1a074081a9 100644 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -394,7 +394,7 @@ StackMode DiagramHelper::getStackModeFromChartType( chart2::StackingDirection eCommonDirection = chart2::StackingDirection_NO_STACKING; bool bDirectionInitialized = false; - // first series is irrelvant for stacking, start with second, unless + // first series is irrelevant for stacking, start with second, unless // there is only one series const sal_Int32 nSeriesCount = aSeries.getLength(); sal_Int32 i = (nSeriesCount == 1) ? 0: 1; @@ -1360,7 +1360,7 @@ bool lcl_moveSeriesOrCheckIfMoveIsAllowed( for( sal_Int32 nS = 0; !bFound && nS < aSeriesList.getLength(); ++nS ) { - // We found the series we are interrested in ! + // We found the series we are interested in! if( xGivenDataSeries==aSeriesList[nS] ) { sal_Int32 nOldSeriesIndex = nS; diff --git a/chart2/source/tools/RelativePositionHelper.cxx b/chart2/source/tools/RelativePositionHelper.cxx index 233bc986346e..71df2acf5cad 100644 --- a/chart2/source/tools/RelativePositionHelper.cxx +++ b/chart2/source/tools/RelativePositionHelper.cxx @@ -252,7 +252,7 @@ bool RelativePositionHelper::centerGrow( const double fPosCheckThreshold = 0.02; const double fSizeCheckThreshold = 0.1; - // grow/shrink, back to relaative + // grow/shrink, back to relative aSize.Primary += fAmountX; aSize.Secondary += fAmountY; diff --git a/chart2/source/tools/ThreeDHelper.cxx b/chart2/source/tools/ThreeDHelper.cxx index ba0c37784178..38eaa0e036ff 100644 --- a/chart2/source/tools/ThreeDHelper.cxx +++ b/chart2/source/tools/ThreeDHelper.cxx @@ -304,7 +304,7 @@ drawing::CameraGeometry ThreeDHelper::getDefaultCameraGeometry( bool bPie ) if( bPie ) { - vrp = drawing::Position3D( 0.0, 0.0, 87591.2408759124 );//--> 5 percent perspecitve + vrp = drawing::Position3D( 0.0, 0.0, 87591.2408759124 );//--> 5 percent perspective vpn = drawing::Direction3D( 0.0, 0.0, 1.0 ); vup = drawing::Direction3D( 0.0, 1.0, 0.0 ); } diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 202d786c7733..b083f246ac98 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -700,7 +700,7 @@ void PieChart::createShapes() awt::Point aMaximumPosition( PlottingPositionHelper::transformSceneToScreenPosition( aNewOrigin, m_xLogicTarget, m_pShapeFactory, m_nDimension ) ); - //enable draging of piesegments + //enable dragging of piesegments OUString aPointCIDStub( ObjectIdentifier::createSeriesSubObjectStub( OBJECTTYPE_DATA_POINT , pSeries->getSeriesParticle() , ObjectIdentifier::getPieSegmentDragMethodServiceName() diff --git a/chart2/source/view/inc/Stripe.hxx b/chart2/source/view/inc/Stripe.hxx index f7db4878fa33..cc17a0cabfb5 100644 --- a/chart2/source/view/inc/Stripe.hxx +++ b/chart2/source/view/inc/Stripe.hxx @@ -26,7 +26,7 @@ namespace chart { -/** A Stripe represents a 2 dimensional foursquare plane in a 3 dimaensional room. +/** A Stripe represents a 2 dimensional foursquare plane in a 3 dimensional room. @todo could: it is not necessary to have 4 point members here; it would be sufficient to have one point and 2 directions */ diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx index 4c8f11c1eaf7..dec486aa3b1d 100644 --- a/chart2/source/view/inc/VSeriesPlotter.hxx +++ b/chart2/source/view/inc/VSeriesPlotter.hxx @@ -147,7 +147,7 @@ public: (0==AttachedAxisIndex or a not set AttachedAxisIndex property indicates that this series should be scaled at the main y-axis; 1==AttachedAxisIndex indicates that the series should be scaled at the first secondary axis if there is any otherwise at the main y axis and so on. - The parameter nAxisIndex matches this DataSereis property 'AttachedAxisIndex'. + The parameter nAxisIndex matches this DataSeries property 'AttachedAxisIndex'. nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis. ) */ diff --git a/chart2/source/view/inc/ViewDefines.hxx b/chart2/source/view/inc/ViewDefines.hxx index 6dd8da943f17..f4d91a739618 100644 --- a/chart2/source/view/inc/ViewDefines.hxx +++ b/chart2/source/view/inc/ViewDefines.hxx @@ -23,7 +23,7 @@ namespace chart { #define CHART_3DOBJECT_SEGMENTCOUNT ((sal_Int32)32) -//There needs to be a little distance betweengrid lines and walls in 3D, otherwise the lines are partly hidden by the walls +//There needs to be a little distance between grid lines and walls in 3D, otherwise the lines are partly hidden by the walls #define GRID_TO_WALL_DISTANCE (1.0) const double ZDIRECTION = 1.0; diff --git a/chart2/source/view/main/Clipping.cxx b/chart2/source/view/main/Clipping.cxx index d391c4f1fd99..7b8604b51109 100644 --- a/chart2/source/view/main/Clipping.cxx +++ b/chart2/source/view/main/Clipping.cxx @@ -69,7 +69,7 @@ bool lcl_CLIPt(double fDenom,double fNum, double & fTE, double & fTL) return true; } -/** @descr The line given by it's two endpoints rP0 and rP1 is clipped at the rectangle +/** @descr The line given by its two endpoints rP0 and rP1 is clipped at the rectangle rRectangle. If there is at least a part of it visible then sal_True is returned and the endpoints of that part are stored in rP0 and rP1. The points rP0 and rP1 may have the same coordinates. diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index b0cf9ff5ead2..598eeb0dfd83 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -893,7 +893,7 @@ bool VDataSeries::hasPointOwnColor( sal_Int32 index ) const bool VDataSeries::isAttributedDataPoint( sal_Int32 index ) const { - //returns true if the data point assigned by the given index has set it's own properties + //returns true if the data point assigned by the given index has set its own properties if( index>=m_nPointCount || m_nPointCount==0) return false; for(sal_Int32 nN=m_aAttributedDataPointIndexList.getLength();nN--;) |