[Libreoffice-commits] core.git: filter/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 31 06:20:30 UTC 2019
filter/source/msfilter/msdffimp.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 837c9e35ef4795cec63ac8e953e58a870e8d02bc
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:24:01 2019 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri May 31 08:19:52 2019 +0200
Fix typo
Change-Id: I562f3e1d952e1b882643535b4ebb6b0067df5fc1
Reviewed-on: https://gerrit.libreoffice.org/73224
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 1c31a10f7ec8..5341f3cd7734 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -191,7 +191,7 @@ static sal_uInt32 nMSOleObjCntr = 0;
struct SvxMSDffBLIPInfo
{
- sal_uLong nFilePos; ///< offset of the BLIP in data strem
+ sal_uLong nFilePos; ///< offset of the BLIP in data stream
explicit SvxMSDffBLIPInfo(sal_uLong nFPos)
: nFilePos(nFPos)
{
@@ -2827,7 +2827,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
if(nAngle >= 0)
nChgColors ^= 1;
- //Translate a MS clockwise(+) or count clockwise angle(-) into a AOO count clock wise angle
+ //Translate a MS clockwise(+) or count clockwise angle(-) into an AOO count clock wise angle
nAngle=3600 - ( ( Fix16ToAngle(nAngle) + 5 ) / 10 );
//Make sure this angle belongs to 0~3600
while ( nAngle >= 3600 ) nAngle -= 3600;
@@ -2840,8 +2840,8 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
if(nRotateAngle)//fixed point number
nRotateAngle = ( static_cast<sal_Int16>( nRotateAngle >> 16) * 100L ) + ( ( ( nRotateAngle & 0x0000ffff) * 100L ) >> 16 );
nRotateAngle = ( nRotateAngle + 5 ) / 10 ;//round up
- //nAngle is a clockwise angle. If nRotateAngle is a clockwise angle, then gradient need be rotated a little less
- //Or it need be rotated a little more
+ //nAngle is a clockwise angle. If nRotateAngle is a clockwise angle, then gradient needs to be rotated a little less
+ //or it needs to be rotated a little more
nAngle -= nRotateAngle;
}
while ( nAngle >= 3600 ) nAngle -= 3600;
@@ -4825,7 +4825,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
aPoint1.setX( aPoint2.X() );
aPoint2.setX( n );
- // #i120437# reset hor filp
+ // #i120437# reset hor flip
nSpFlags &= ~ShapeFlag::FlipH;
}
if ( nSpFlags & ShapeFlag::FlipV )
@@ -4834,7 +4834,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
aPoint1.setY( aPoint2.Y() );
aPoint2.setY( n );
- // #i120437# reset ver filp
+ // #i120437# reset ver flip
nSpFlags &= ~ShapeFlag::FlipV;
}
@@ -6652,7 +6652,7 @@ bool SvxMSDffManager::GetBLIPDirect( SvStream& rBLIPStream, Graphic& rData, tool
if ( ERRCODE_IO_PENDING == pGrStream->GetError() )
pGrStream->ResetError();
}
- rBLIPStream.Seek( nOldPos ); // restore old FilePos of the strem
+ rBLIPStream.Seek( nOldPos ); // restore old FilePos of the stream
return ( ERRCODE_NONE == nRes ); // return result
}
More information about the Libreoffice-commits
mailing list