From bf529f8dff2482eba190b512ff93f16bcab7af26 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 19 Aug 2020 17:55:38 +0200 Subject: Fix typo in code Change-Id: Ic9cc89e8b112e049594fb56a1641d36d082abbd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101006 Tested-by: Jenkins Reviewed-by: Julien Nabet --- chart2/source/view/diagram/VDiagram.cxx | 2 +- chart2/source/view/inc/VDiagram.hxx | 2 +- chart2/source/view/main/ChartView.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2') diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index bf9b9b70d343..53b96b036266 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -667,7 +667,7 @@ basegfx::B2IRectangle VDiagram::getCurrentRectangle() const return BaseGFXHelper::makeRectangle(m_aCurrentPosWithoutAxes,m_aCurrentSizeWithoutAxes); } -void VDiagram::reduceToMimimumSize() +void VDiagram::reduceToMinimumSize() { if( !m_xOuterGroupShape.is() ) return; diff --git a/chart2/source/view/inc/VDiagram.hxx b/chart2/source/view/inc/VDiagram.hxx index 15ea26434531..ebfff98e9c8f 100644 --- a/chart2/source/view/inc/VDiagram.hxx +++ b/chart2/source/view/inc/VDiagram.hxx @@ -65,7 +65,7 @@ public: //methods */ basegfx::B2IRectangle getCurrentRectangle() const; - void reduceToMimimumSize(); + void reduceToMinimumSize(); ::basegfx::B2IRectangle adjustPosAndSize( const css::awt::Point& rPos , const css::awt::Size& rAvailableSize ); diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 656503a8588b..49c9906f23c6 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -1486,7 +1486,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( const CreateShapeParam2D xSeriesTargetInFrontOfAxis = aVDiagram.getCoordinateRegion(); // It is preferable to use full size than minimum for pie charts if (!rParam.mbUseFixedInnerSize) - aVDiagram.reduceToMimimumSize(); + aVDiagram.reduceToMinimumSize(); } uno::Reference< drawing::XShapes > xTextTargetShapes = -- cgit