diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 16:08:01 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 08:45:47 +0200 |
commit | 161c748e3732e99ec3279a3f9effca6594ed1b03 (patch) | |
tree | f9d6206990f430606586aed79cacc3d6d21a9fbf /chart2 | |
parent | bbeb4b91a56a1fd6db8ae1beb1a59007fb25de37 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I8448ea8e50b38364913982010b106a51f7549911
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101797
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartElementsPanel.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.cxx b/chart2/source/controller/sidebar/ChartElementsPanel.cxx index 346672c2bb2a..1c7e60157aef 100644 --- a/chart2/source/controller/sidebar/ChartElementsPanel.cxx +++ b/chart2/source/controller/sidebar/ChartElementsPanel.cxx @@ -143,7 +143,7 @@ void setLegendOverlay(const css::uno::Reference<css::frame::XModel>& xModel, boo xLegendProp->setPropertyValue("Overlay", css::uno::Any(bOverlay)); } -bool isTitleVisisble(const css::uno::Reference<css::frame::XModel>& xModel, TitleHelper::eTitleType eTitle) +bool isTitleVisible(const css::uno::Reference<css::frame::XModel>& xModel, TitleHelper::eTitleType eTitle) { css::uno::Reference<css::uno::XInterface> xTitle = TitleHelper::getTitle(eTitle, xModel); if (!xTitle.is()) @@ -447,13 +447,13 @@ void ChartElementsPanel::updateData() mxCBLegendNoOverlay->set_sensitive(isLegendVisible(mxModel)); mxCBLegendNoOverlay->set_active(!isLegendOverlay(mxModel)); mxBoxLegend->set_sensitive(isLegendVisible(mxModel)); - mxCBTitle->set_active(isTitleVisisble(mxModel, TitleHelper::MAIN_TITLE)); - mxCBSubtitle->set_active(isTitleVisisble(mxModel, TitleHelper::SUB_TITLE)); - mxCBXAxisTitle->set_active(isTitleVisisble(mxModel, TitleHelper::X_AXIS_TITLE)); - mxCBYAxisTitle->set_active(isTitleVisisble(mxModel, TitleHelper::Y_AXIS_TITLE)); - mxCBZAxisTitle->set_active(isTitleVisisble(mxModel, TitleHelper::Z_AXIS_TITLE)); - mxCB2ndXAxisTitle->set_active(isTitleVisisble(mxModel, TitleHelper::SECONDARY_X_AXIS_TITLE)); - mxCB2ndYAxisTitle->set_active(isTitleVisisble(mxModel, TitleHelper::SECONDARY_Y_AXIS_TITLE)); + mxCBTitle->set_active(isTitleVisible(mxModel, TitleHelper::MAIN_TITLE)); + mxCBSubtitle->set_active(isTitleVisible(mxModel, TitleHelper::SUB_TITLE)); + mxCBXAxisTitle->set_active(isTitleVisible(mxModel, TitleHelper::X_AXIS_TITLE)); + mxCBYAxisTitle->set_active(isTitleVisible(mxModel, TitleHelper::Y_AXIS_TITLE)); + mxCBZAxisTitle->set_active(isTitleVisible(mxModel, TitleHelper::Z_AXIS_TITLE)); + mxCB2ndXAxisTitle->set_active(isTitleVisible(mxModel, TitleHelper::SECONDARY_X_AXIS_TITLE)); + mxCB2ndYAxisTitle->set_active(isTitleVisible(mxModel, TitleHelper::SECONDARY_Y_AXIS_TITLE)); mxCBGridVerticalMajor->set_active(isGridVisible(mxModel, GridType::VERT_MAJOR)); mxCBGridHorizontalMajor->set_active(isGridVisible(mxModel, GridType::HOR_MAJOR)); mxCBGridVerticalMinor->set_active(isGridVisible(mxModel, GridType::VERT_MINOR)); |