[Libreoffice-commits] core.git: chart2/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 06:49:13 UTC 2020


 chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx |    4 ++--
 chart2/source/controller/main/ChartController_Insert.cxx        |    4 ++--
 chart2/source/inc/AxisHelper.hxx                                |    2 +-
 chart2/source/tools/AxisHelper.cxx                              |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit a6cabde7af00ca2b23fc4d9f042e71fb525c7199
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 15:53:50 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 08:48:33 2020 +0200

    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 at yahoo.fr>

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);


More information about the Libreoffice-commits mailing list