[Libreoffice-commits] core.git: chart2/source
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Nov 16 13:21:16 UTC 2019
chart2/source/controller/sidebar/ChartTypePanel.cxx | 10 +++++-----
chart2/source/controller/sidebar/ChartTypePanel.hxx | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 6de6c21de8278dec88b15a2482a4a034c782d5f4
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Fri Nov 15 19:31:58 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Nov 16 14:20:38 2019 +0100
Rename getCurrentParamter() as getCurrentParameter()
Change-Id: I0116b4526fea377130b1d1e101d30b3107af3c81
Reviewed-on: https://gerrit.libreoffice.org/82243
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/82811
Tested-by: Jenkins
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx
index f58bdfd53264..6de33352b051 100644
--- a/chart2/source/controller/sidebar/ChartTypePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx
@@ -172,7 +172,7 @@ IMPL_LINK_NOARG(ChartTypePanel, SelectSubTypeHdl, SvtValueSet*, void)
{
if (m_pCurrentMainType)
{
- ChartTypeParameter aParameter(getCurrentParamter());
+ ChartTypeParameter aParameter(getCurrentParameter());
m_pCurrentMainType->adjustParameterToSubType(aParameter);
fillAllControls(aParameter, false);
commitToModel(aParameter);
@@ -317,7 +317,7 @@ uno::Reference<css::chart2::XChartTypeTemplate> ChartTypePanel::getCurrentTempla
{
if (m_pCurrentMainType && m_xChartModel.is())
{
- ChartTypeParameter aParameter(getCurrentParamter());
+ ChartTypeParameter aParameter(getCurrentParameter());
m_pCurrentMainType->adjustParameterToSubType(aParameter);
uno::Reference<lang::XMultiServiceFactory> xTemplateManager(
m_xChartModel->getChartTypeManager(), uno::UNO_QUERY);
@@ -371,7 +371,7 @@ void ChartTypePanel::fillAllControls(const ChartTypeParameter& rParameter,
m_nChangingCalls--;
}
-ChartTypeParameter ChartTypePanel::getCurrentParamter() const
+ChartTypeParameter ChartTypePanel::getCurrentParameter() const
{
ChartTypeParameter aParameter;
aParameter.nSubTypeIndex = static_cast<sal_Int32>(m_xSubTypeList->GetSelectedItemId());
@@ -389,7 +389,7 @@ void ChartTypePanel::stateChanged()
return;
m_nChangingCalls++;
- ChartTypeParameter aParameter(getCurrentParamter());
+ ChartTypeParameter aParameter(getCurrentParameter());
if (m_pCurrentMainType)
{
m_pCurrentMainType->adjustParameterToSubType(aParameter);
@@ -426,7 +426,7 @@ void ChartTypePanel::commitToModel(const ChartTypeParameter& rParameter)
void ChartTypePanel::selectMainType()
{
- ChartTypeParameter aParameter(getCurrentParamter());
+ ChartTypeParameter aParameter(getCurrentParameter());
if (m_pCurrentMainType)
{
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.hxx b/chart2/source/controller/sidebar/ChartTypePanel.hxx
index 394983e62f2a..91d4d71220a9 100644
--- a/chart2/source/controller/sidebar/ChartTypePanel.hxx
+++ b/chart2/source/controller/sidebar/ChartTypePanel.hxx
@@ -99,7 +99,7 @@ private:
ChartTypeDialogController* getSelectedMainType();
void showAllControls(ChartTypeDialogController& rTypeController);
void fillAllControls(const ChartTypeParameter& rParameter, bool bAlsoResetSubTypeList = true);
- ChartTypeParameter getCurrentParamter() const;
+ ChartTypeParameter getCurrentParameter() const;
virtual void stateChanged() override;
More information about the Libreoffice-commits
mailing list