summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-19 17:55:38 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-20 09:06:19 +0200
commitbf529f8dff2482eba190b512ff93f16bcab7af26 (patch)
tree19e3366ccda04123cd35f140ffafa95f5e852062 /chart2
parent69d1691e62d8daf0d2af7e8315c7884ababedf61 (diff)
Fix typo in code
Change-Id: Ic9cc89e8b112e049594fb56a1641d36d082abbd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101006 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx2
-rw-r--r--chart2/source/view/inc/VDiagram.hxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx2
3 files changed, 3 insertions, 3 deletions
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 =