summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 15:53:50 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 08:48:33 +0200
commita6cabde7af00ca2b23fc4d9f042e71fb525c7199 (patch)
treef166ffd0ce6b6c5b911182ae65e0a9b19267f3f1
parent8936af6c396236bc94a76f5bb3a95b02712d711e (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: Icb950648977545c02ec8569f8b246359b33f8054 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101790 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx4
-rw-r--r--chart2/source/controller/main/ChartController_Insert.cxx4
-rw-r--r--chart2/source/inc/AxisHelper.hxx2
-rw-r--r--chart2/source/tools/AxisHelper.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx
index b191f2a42468..66301e2cd606 100644
--- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx
+++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx
@@ -79,7 +79,7 @@ void TitlesAndObjectsTabPage::initializePage()
uno::Sequence< sal_Bool > aPossibilityList;
uno::Sequence< sal_Bool > aExistenceList;
AxisHelper::getAxisOrGridPossibilities( aPossibilityList, xDiagram, false );
- AxisHelper::getAxisOrGridExcistence( aExistenceList, xDiagram, false );
+ AxisHelper::getAxisOrGridExistence( aExistenceList, xDiagram, false );
m_xCB_Grid_X->set_sensitive( aPossibilityList[0] );
m_xCB_Grid_Y->set_sensitive( aPossibilityList[1] );
m_xCB_Grid_Z->set_sensitive( aPossibilityList[2] );
@@ -122,7 +122,7 @@ void TitlesAndObjectsTabPage::commitToModel()
{
uno::Reference< XDiagram > xDiagram = ChartModelHelper::findDiagram( xModel );
uno::Sequence< sal_Bool > aOldExistenceList;
- AxisHelper::getAxisOrGridExcistence( aOldExistenceList, xDiagram, false );
+ AxisHelper::getAxisOrGridExistence( aOldExistenceList, xDiagram, false );
uno::Sequence< sal_Bool > aNewExistenceList(aOldExistenceList);
aNewExistenceList[0] = m_xCB_Grid_X->get_active();
aNewExistenceList[1] = m_xCB_Grid_Y->get_active();
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx
index 85f7ea5c345e..320282a5deb5 100644
--- a/chart2/source/controller/main/ChartController_Insert.cxx
+++ b/chart2/source/controller/main/ChartController_Insert.cxx
@@ -95,7 +95,7 @@ void ChartController::executeDispatch_InsertAxes()
{
InsertAxisOrGridDialogData aDialogInput;
uno::Reference< XDiagram > xDiagram = ChartModelHelper::findDiagram(getModel());
- AxisHelper::getAxisOrGridExcistence( aDialogInput.aExistenceList, xDiagram );
+ AxisHelper::getAxisOrGridExistence( aDialogInput.aExistenceList, xDiagram );
AxisHelper::getAxisOrGridPossibilities( aDialogInput.aPossibilityList, xDiagram );
SolarMutexGuard aGuard;
@@ -133,7 +133,7 @@ void ChartController::executeDispatch_InsertGrid()
{
InsertAxisOrGridDialogData aDialogInput;
uno::Reference< XDiagram > xDiagram = ChartModelHelper::findDiagram(getModel());
- AxisHelper::getAxisOrGridExcistence( aDialogInput.aExistenceList, xDiagram, false );
+ AxisHelper::getAxisOrGridExistence( aDialogInput.aExistenceList, xDiagram, false );
AxisHelper::getAxisOrGridPossibilities( aDialogInput.aPossibilityList, xDiagram, false );
SolarMutexGuard aGuard;
diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx
index 2097d216bc60..df57609b0092 100644
--- a/chart2/source/inc/AxisHelper.hxx
+++ b/chart2/source/inc/AxisHelper.hxx
@@ -172,7 +172,7 @@ public:
static void getAxisOrGridPossibilities( css::uno::Sequence< sal_Bool >& rPossibilityList
, const css::uno::Reference< css::chart2::XDiagram>& xDiagram, bool bAxis=true );
- static void getAxisOrGridExcistence( css::uno::Sequence< sal_Bool >& rExcistenceList
+ static void getAxisOrGridExistence( css::uno::Sequence< sal_Bool >& rExistenceList
, const css::uno::Reference< css::chart2::XDiagram>& xDiagram, bool bAxis=true );
static bool changeVisibilityOfGrids( const css::uno::Reference< css::chart2::XDiagram>& xDiagram
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index 77bf0555ec97..735f00a430c7 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -955,7 +955,7 @@ bool AxisHelper::shouldAxisBeDisplayed( const Reference< XAxis >& xAxis
return bRet;
}
-void AxisHelper::getAxisOrGridExcistence( Sequence< sal_Bool >& rExistenceList
+void AxisHelper::getAxisOrGridExistence( Sequence< sal_Bool >& rExistenceList
, const Reference< XDiagram>& xDiagram, bool bAxis )
{
rExistenceList.realloc(6);