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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 20 07:06:55 UTC 2020


 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(-)

New commits:
commit bf529f8dff2482eba190b512ff93f16bcab7af26
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Aug 19 17:55:38 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Aug 20 09:06:19 2020 +0200

    Fix typo in code
    
    Change-Id: Ic9cc89e8b112e049594fb56a1641d36d082abbd5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101006
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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 =


More information about the Libreoffice-commits mailing list