summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-25 09:32:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 08:43:01 +0000
commit5262883672208ac17b58ec197a1f984d99403b7d (patch)
tree990a575501845d2f915757fc3af0faecec70f1c3 /chart2
parent72a2f615c37aada0d5ab8791f1fa9a71772b50f6 (diff)
Fix typos
Change-Id: If92860597a44ee79b513d255ce3f21112485a97e Reviewed-on: https://gerrit.libreoffice.org/35617 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/qa/extras/chart2dump/chart2dump.cxx4
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx2
-rw-r--r--chart2/source/inc/DiagramHelper.hxx2
-rw-r--r--chart2/source/tools/CachedDataSequence.cxx2
-rw-r--r--chart2/source/view/axes/ScaleAutomatism.cxx2
-rw-r--r--chart2/source/view/charttypes/BarChart.cxx2
-rw-r--r--chart2/source/view/inc/VSeriesPlotter.hxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx
index cd9f004fa66d..7fc78e2f76a4 100755
--- a/chart2/qa/extras/chart2dump/chart2dump.cxx
+++ b/chart2/qa/extras/chart2dump/chart2dump.cxx
@@ -199,9 +199,9 @@ protected:
bool readAndCheckTransformation(const drawing::HomogenMatrix3& rTransform, const OUString& sCheck, const double fEPS, OUString& rExpectedTranform)
{
- rExpectedTranform = readExpected(sCheck); // Reference transfromation string
+ rExpectedTranform = readExpected(sCheck); // Reference transformation string
- // Covnert string back to a transformation;
+ // Convert string back to a transformation;
drawing::HomogenMatrix3 aExpectedTransform;
aExpectedTransform.Line1.Column1 = rExpectedTranform.getToken(0, ';').toDouble();
aExpectedTransform.Line1.Column2 = rExpectedTranform.getToken(1, ';').toDouble();
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index b48f2d04716d..dd08a7ef99c1 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -1286,7 +1286,7 @@ bool ChartController::execute_KeyInput( const KeyEvent& rKEvt )
ObjectType eObjectType = ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() );
if( ! bReturn )
{
- // Natvigation (Tab/F3/Home/End)
+ // Navigation (Tab/F3/Home/End)
uno::Reference< XChartDocument > xChartDoc( getModel(), uno::UNO_QUERY );
ObjectKeyNavigation aObjNav( m_aSelection.getSelectedOID(), xChartDoc, ExplicitValueProvider::getExplicitValueProvider( m_xChartView ));
awt::KeyEvent aKeyEvent( ::svt::AcceleratorExecute::st_VCLKey2AWTKey( aKeyCode ));
diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx
index 8555472ed85f..1250060a5c91 100644
--- a/chart2/source/inc/DiagramHelper.hxx
+++ b/chart2/source/inc/DiagramHelper.hxx
@@ -61,7 +61,7 @@ public:
@return
A pair containing a template with the correct properties set as
- first entry and the service name of the templateas second entry. If
+ first entry and the service name of the templates second entry. If
no template was found both elements are empty.
*/
static tTemplateWithServiceName
diff --git a/chart2/source/tools/CachedDataSequence.cxx b/chart2/source/tools/CachedDataSequence.cxx
index 1426a9803fdd..53c5705d6d44 100644
--- a/chart2/source/tools/CachedDataSequence.cxx
+++ b/chart2/source/tools/CachedDataSequence.cxx
@@ -302,7 +302,7 @@ OUString SAL_CALL CachedDataSequence::getSourceRangeRepresentation()
Sequence< OUString > SAL_CALL CachedDataSequence::generateLabel( chart2::data::LabelOrigin /*eLabelOrigin*/ )
{
- // return empty label, as we have no range representaions to determine something useful
+ // return empty label, as we have no range representations to determine something useful
return Sequence< OUString >();
}
diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx
index 1c7016e0e94a..ce1fa1570f27 100644
--- a/chart2/source/view/axes/ScaleAutomatism.cxx
+++ b/chart2/source/view/axes/ScaleAutomatism.cxx
@@ -261,7 +261,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
if( bAutoMaximum && m_bExpandBorderToIncrementRhythm )
rExplicitScale.Maximum = EquidistantTickFactory::getMaximumAtIncrement( rExplicitScale.Maximum, rExplicitIncrement );
- //prevent performace killover
+ //prevent performance killover
double fDistanceCount = ::rtl::math::approxFloor( (rExplicitScale.Maximum-rExplicitScale.Minimum) / rExplicitIncrement.Distance );
if( static_cast< sal_Int32 >( fDistanceCount ) > MAXIMUM_MANUAL_INCREMENT_COUNT )
{
diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx
index df796f73e04e..7cdc64c3202e 100644
--- a/chart2/source/view/charttypes/BarChart.cxx
+++ b/chart2/source/view/charttypes/BarChart.cxx
@@ -454,7 +454,7 @@ void BarChart::createShapes()
std::vector< std::vector< VDataSeriesGroup > >::iterator aZSlotIter = m_aZSlots.begin();
const std::vector< std::vector< VDataSeriesGroup > >::const_iterator aZSlotEnd = m_aZSlots.end();
- //sum up the values for all series in a complete z zlot per attached axis
+ //sum up the values for all series in a complete z slot per attached axis
std::map< sal_Int32, double > aLogicYSumMap;
for( ; aZSlotIter != aZSlotEnd; ++aZSlotIter )
{
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index de1a3fdd1aa2..15585cb71c93 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -150,7 +150,7 @@ public:
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 DataSeries property 'AttachedAxisIndex'.
- nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis.
+ nAxisIndex must be greater than 0. nAxisIndex==1 refers to the first secondary axis.
)
@throws css::uno::RuntimeException