diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-05-04 18:12:42 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-05-05 07:25:21 +0000 |
commit | f62af191bf0f0d1578abc919ca3c902864fefa22 (patch) | |
tree | 07bc847e3920a987eb72be196cbd2709f388488b /chart2 | |
parent | a0fca97eda10778be076c411dfd513e2a38937ae (diff) |
typo: strech -> stretch
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053
Reviewed-on: https://gerrit.libreoffice.org/15628
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/axes/Tickmarks.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/axes/Tickmarks.hxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/view/axes/Tickmarks.cxx b/chart2/source/view/axes/Tickmarks.cxx index a8cd9a56cc44..6f12154c4473 100644 --- a/chart2/source/view/axes/Tickmarks.cxx +++ b/chart2/source/view/axes/Tickmarks.cxx @@ -139,20 +139,20 @@ void TickFactory::updateScreenValues( TickInfoArraysType& /*rAllTickInfos*/ ) co // ___TickFactory_2D___ TickFactory2D::TickFactory2D( const ExplicitScaleData& rScale, const ExplicitIncrementData& rIncrement - //, double fStrech_SceneToScreen, double fOffset_SceneToScreen ) + //, double fStretch_SceneToScreen, double fOffset_SceneToScreen ) , const B2DVector& rStartScreenPos, const B2DVector& rEndScreenPos , const B2DVector& rAxisLineToLabelLineShift ) : TickFactory( rScale, rIncrement ) , m_aAxisStartScreenPosition2D(rStartScreenPos) , m_aAxisEndScreenPosition2D(rEndScreenPos) , m_aAxisLineToLabelLineShift(rAxisLineToLabelLineShift) - , m_fStrech_LogicToScreen(1.0) + , m_fStretch_LogicToScreen(1.0) , m_fOffset_LogicToScreen(0.0) { double fWidthY = m_fScaledVisibleMax - m_fScaledVisibleMin; if (chart2::AxisOrientation_MATHEMATICAL == m_rScale.Orientation) { - m_fStrech_LogicToScreen = 1.0/fWidthY; + m_fStretch_LogicToScreen = 1.0/fWidthY; m_fOffset_LogicToScreen = -m_fScaledVisibleMin; } else @@ -161,7 +161,7 @@ TickFactory2D::TickFactory2D( m_aAxisStartScreenPosition2D = m_aAxisEndScreenPosition2D; m_aAxisEndScreenPosition2D = aSwap; - m_fStrech_LogicToScreen = -1.0/fWidthY; + m_fStretch_LogicToScreen = -1.0/fWidthY; m_fOffset_LogicToScreen = -m_fScaledVisibleMax; } } @@ -197,7 +197,7 @@ B2DVector TickFactory2D::getTickScreenPosition2D( double fScaledLogicTickValue ) { B2DVector aRet(m_aAxisStartScreenPosition2D); aRet += (m_aAxisEndScreenPosition2D-m_aAxisStartScreenPosition2D) - *((fScaledLogicTickValue+m_fOffset_LogicToScreen)*m_fStrech_LogicToScreen); + *((fScaledLogicTickValue+m_fOffset_LogicToScreen)*m_fStretch_LogicToScreen); return aRet; } diff --git a/chart2/source/view/axes/Tickmarks.hxx b/chart2/source/view/axes/Tickmarks.hxx index b47dde2bec06..b9ecc35bd645 100644 --- a/chart2/source/view/axes/Tickmarks.hxx +++ b/chart2/source/view/axes/Tickmarks.hxx @@ -150,7 +150,7 @@ private: //member //add this vector to go from the axis line to the label line (border of the diagram) ::basegfx::B2DVector m_aAxisLineToLabelLineShift; - double m_fStrech_LogicToScreen; + double m_fStretch_LogicToScreen; double m_fOffset_LogicToScreen; }; |