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

Andrea Gelmini andrea.gelmini at gelma.net
Thu May 7 06:56:19 PDT 2015


 chart2/source/controller/dialogs/dlg_DataSource.cxx |   16 ++++++++--------
 chart2/source/controller/inc/dlg_CreationWizard.hxx |    2 +-
 chart2/source/controller/inc/dlg_DataSource.hxx     |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 65088fc4702300201997d7148897a20047bae414
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu May 7 14:11:50 2015 +0200

    tdf#91050: fix typo TabePage->TabPage
    
    Change-Id: I21d04451aa747f6d8d9560533674f1c0aa590e65
    Reviewed-on: https://gerrit.libreoffice.org/15664
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx
index d0cb073..0460773 100644
--- a/chart2/source/controller/dialogs/dlg_DataSource.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx
@@ -134,7 +134,7 @@ DataSourceDialog::DataSourceDialog(vcl::Window * pParent,
     , m_apDocTemplateProvider(new DocumentChartTypeTemplateProvider(xChartDocument))
     , m_apDialogModel(new DialogModel(xChartDocument, xContext))
     , m_pTabControl(VclPtr<DataSourceTabControl>::Create(get_content_area()))
-    , m_pRangeChooserTabePage(0)
+    , m_pRangeChooserTabPage(0)
     , m_pDataSourceTabPage(0)
     , m_bRangeChooserTabIsValid(true)
     , m_bDataSourceTabIsValid(true)
@@ -143,7 +143,7 @@ DataSourceDialog::DataSourceDialog(vcl::Window * pParent,
 
     m_pTabControl->Show();
 
-    m_pRangeChooserTabePage = VclPtr<RangeChooserTabPage>::Create( m_pTabControl, *(m_apDialogModel.get()),
+    m_pRangeChooserTabPage = VclPtr<RangeChooserTabPage>::Create( m_pTabControl, *(m_apDialogModel.get()),
                                      m_apDocTemplateProvider.get(), this, true /* bHideDescription */ );
     m_pDataSourceTabPage = VclPtr<DataSourceTabPage>::Create( m_pTabControl, *(m_apDialogModel.get()),
                                     m_apDocTemplateProvider.get(), this, true /* bHideDescription */ );
@@ -152,7 +152,7 @@ DataSourceDialog::DataSourceDialog(vcl::Window * pParent,
     m_pTabControl->InsertPage( TP_DATA_SOURCE,  SCH_RESSTR(STR_OBJECT_DATASERIES_PLURAL) );
 
     m_pTabControl->SetTabPage( TP_DATA_SOURCE,  m_pDataSourceTabPage );
-    m_pTabControl->SetTabPage( TP_RANGECHOOSER, m_pRangeChooserTabePage );
+    m_pTabControl->SetTabPage( TP_RANGECHOOSER, m_pRangeChooserTabPage );
 
     m_pTabControl->SelectTabPage( m_nLastPageId );
 }
@@ -164,7 +164,7 @@ DataSourceDialog::~DataSourceDialog()
 
 void DataSourceDialog::dispose()
 {
-    m_pRangeChooserTabePage.disposeAndClear();
+    m_pRangeChooserTabPage.disposeAndClear();
     m_pDataSourceTabPage.disposeAndClear();
     if (m_pTabControl)
         m_nLastPageId = m_pTabControl->GetCurPageId();
@@ -178,8 +178,8 @@ short DataSourceDialog::Execute()
     short nResult = TabDialog::Execute();
     if( nResult == RET_OK )
     {
-        if( m_pRangeChooserTabePage )
-            m_pRangeChooserTabePage->commitPage();
+        if( m_pRangeChooserTabPage )
+            m_pRangeChooserTabPage->commitPage();
         if( m_pDataSourceTabPage )
             m_pDataSourceTabPage->commitPage();
     }
@@ -188,7 +188,7 @@ short DataSourceDialog::Execute()
 
 void DataSourceDialog::setInvalidPage( TabPage * pTabPage )
 {
-    if( pTabPage == m_pRangeChooserTabePage )
+    if( pTabPage == m_pRangeChooserTabPage )
         m_bRangeChooserTabIsValid = false;
     else if( pTabPage == m_pDataSourceTabPage )
         m_bDataSourceTabIsValid = false;
@@ -210,7 +210,7 @@ void DataSourceDialog::setInvalidPage( TabPage * pTabPage )
 
 void DataSourceDialog::setValidPage( TabPage * pTabPage )
 {
-    if( pTabPage == m_pRangeChooserTabePage )
+    if( pTabPage == m_pRangeChooserTabPage )
         m_bRangeChooserTabIsValid = true;
     else if( pTabPage == m_pDataSourceTabPage )
         m_bDataSourceTabIsValid = true;
diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx
index 152fc84..18fd8de 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx
@@ -81,7 +81,7 @@ private:
 
     TimerTriggeredControllerLock   m_aTimerTriggeredControllerLock;
 
-//     RangeChooserTabPage * m_pRangeChooserTabePage;
+//     RangeChooserTabPage * m_pRangeChooserTabPage;
 //     DataSourceTabPage *   m_pDataSourceTabPage;
     bool                  m_bCanTravel;
 };
diff --git a/chart2/source/controller/inc/dlg_DataSource.hxx b/chart2/source/controller/inc/dlg_DataSource.hxx
index bc3d22d..4a2187a 100644
--- a/chart2/source/controller/inc/dlg_DataSource.hxx
+++ b/chart2/source/controller/inc/dlg_DataSource.hxx
@@ -71,7 +71,7 @@ private:
     VclPtr<DataSourceTabControl> m_pTabControl;
     VclPtr<OKButton>             m_pBtnOK;
 
-    VclPtr<RangeChooserTabPage> m_pRangeChooserTabePage;
+    VclPtr<RangeChooserTabPage> m_pRangeChooserTabPage;
     VclPtr<DataSourceTabPage>   m_pDataSourceTabPage;
     bool                  m_bRangeChooserTabIsValid;
     bool                  m_bDataSourceTabIsValid;


More information about the Libreoffice-commits mailing list