[Libreoffice-commits] core.git: chart2/qa chart2/source
Andrea Gelmini
andrea.gelmini at gelma.net
Wed Jan 6 09:04:44 PST 2016
chart2/qa/extras/chart2import.cxx | 2 +-
chart2/source/controller/main/ChartController.cxx | 6 +++---
chart2/source/controller/main/UndoGuard.hxx | 2 +-
chart2/source/model/filter/XMLFilter.cxx | 2 +-
chart2/source/model/template/ChartTypeTemplate.hxx | 2 +-
chart2/source/tools/DiagramHelper.cxx | 4 ++--
chart2/source/tools/RelativePositionHelper.cxx | 2 +-
chart2/source/tools/ThreeDHelper.cxx | 2 +-
chart2/source/view/charttypes/PieChart.cxx | 2 +-
chart2/source/view/inc/Stripe.hxx | 2 +-
chart2/source/view/inc/VSeriesPlotter.hxx | 2 +-
chart2/source/view/inc/ViewDefines.hxx | 2 +-
chart2/source/view/main/Clipping.cxx | 2 +-
chart2/source/view/main/VDataSeries.cxx | 2 +-
14 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 5e65c273c61cfc78304d1d62a21a18953b643c50
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Mon Jan 4 12:41:46 2016 +0100
Fix typos
Change-Id: Ie0578dcca6cbf4edb62544109d616a081888f369
Reviewed-on: https://gerrit.libreoffice.org/21140
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx
index 6847aeb..75b0f9c 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 020541d..211fccd 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 0b41f98..167b8c6 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 dc49724..c18ac15 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 629f32e..8b03824 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 9a66d53..5f1a074 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 233bc98..71df2ac 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 ba0c377..38eaa0e 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 202d786..b083f24 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 f7db487..cc17a0c 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 4c8f11c1..dec486a 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 6dd8da9..f4d91a7 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 d391c4f..7b8604b 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 b0cf9ff..598eeb0 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--;)
More information about the Libreoffice-commits
mailing list