summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-03-23 20:06:04 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-03-23 20:08:36 +0100
commit41c99ab6308029c6eaae589efd4386e52ccb67e9 (patch)
tree7536fd79aa28b926414dea0b1af06d61d8cb0d6c /chart2
parent603c8845728cb96908388ab26db934735825bf10 (diff)
Typos
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 4f9be0c43b82..747a12044ecc 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -1758,7 +1758,7 @@ void VCartesianAxis::createTickMarkLineShapes( TickInfoArrayType& rTickInfos, co
//add ticks at labels:
rTickFactory2D.addPointSequenceForTickLine( aPoints, nN++, (*aTickIter).fScaledTickValue
, fInnerDirectionSign , rTickmarkProperties, bTicksAtLabels );
- //add ticks at axis (without lables):
+ //add ticks at axis (without labels):
if( !bOnlyAtLabels && m_aAxisProperties.m_eTickmarkPos == ::com::sun::star::chart::ChartAxisMarkPosition_AT_LABELS_AND_AXIS )
rTickFactory2D.addPointSequenceForTickLine( aPoints, nN++, (*aTickIter).fScaledTickValue
, m_aAxisProperties.maLabelAlignment.mfInnerTickDirection, rTickmarkProperties, !bTicksAtLabels );
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 030206722b1d..66d64bfc5580 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2908,7 +2908,7 @@ void SAL_CALL ChartView::update() throw (uno::RuntimeException, std::exception)
//Although in general it is a bad idea to change the model from within the view this is exceptionally the best place to do this special conversion.
//When a view update is requested (what happens for creating the metafile or displaying
//the chart in edit mode or printing) it is most likely that all necessary information are available - like the underlying spreadsheet data for example.
- //Those data is important for the correct axis lable sizes which are needed during conversion.
+ //Those data are important for the correct axis label sizes which are needed during conversion.
if( DiagramHelper::switchDiagramPositioningToExcludingPositioning( mrChartModel, true, false ) )
impl_updateView();
}