diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-01-24 12:56:13 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-01-25 06:05:54 +0000 |
commit | 6d898945d57b53b862c41a3adbd0d4eddd8dfbcd (patch) | |
tree | f25cdb30411048df0b5dac05bb80dea50898c703 /svx | |
parent | 3cda5ffdda64eff9282450816334d18f7aa015bd (diff) |
Fix typo in comments: relativ -> relative
Change-Id: I58833e503e93b8057f92710c5828bba6cecd4e09
Reviewed-on: https://gerrit.libreoffice.org/33488
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdomeas.cxx | 4 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx index 286e6088fdf8..b6d5a4fddd1c 100644 --- a/svx/source/svdraw/svdomeas.cxx +++ b/svx/source/svdraw/svdomeas.cxx @@ -390,11 +390,11 @@ void SdrMeasureObj::ImpCalcGeometrics(const ImpMeasureRec& rRec, ImpMeasurePoly& nArrow1Wdt = static_cast<const XLineStartWidthItem&>(rSet.Get(XATTR_LINESTARTWIDTH)).GetValue(); if(nArrow1Wdt < 0) - nArrow1Wdt = -nLineWdt * nArrow1Wdt / 100; // <0 = relativ + nArrow1Wdt = -nLineWdt * nArrow1Wdt / 100; // <0 = relative nArrow2Wdt = static_cast<const XLineEndWidthItem&>(rSet.Get(XATTR_LINEENDWIDTH)).GetValue(); if(nArrow2Wdt < 0) - nArrow2Wdt = -nLineWdt * nArrow2Wdt / 100; // <0 = relativ + nArrow2Wdt = -nLineWdt * nArrow2Wdt / 100; // <0 = relative basegfx::B2DPolyPolygon aPol1(static_cast<const XLineStartItem&>(rSet.Get(XATTR_LINESTART)).GetLineStartValue()); basegfx::B2DPolyPolygon aPol2(static_cast<const XLineEndItem&>(rSet.Get(XATTR_LINEEND)).GetLineEndValue()); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index d7367188c696..bf54674e563c 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1122,7 +1122,7 @@ awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException, std::ex Rectangle aRect( svx_getLogicRectHack(mpObj.get()) ); Point aPt( aRect.Left(), aRect.Top() ); - // Position is relativ to anchor, so recalc to absolute position + // Position is relative to anchor, so recalc to absolute position if( mpModel->IsWriter() ) aPt -= mpObj->GetAnchorPos(); @@ -1150,7 +1150,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run Point aLocalPos( Position.X, Position.Y ); ForceMetricToItemPoolMetric(aLocalPos); - // Position is absolute, so recalc to position relativ to anchor + // Position is absolute, so recalc to position relative to anchor if( mpModel->IsWriter() ) aLocalPos += mpObj->GetAnchorPos(); |