diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-12-16 18:35:08 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-12-16 21:52:43 +0100 |
commit | 63f2350fa3f91fcc310f85a59f1becdfee2784af (patch) | |
tree | 6f33312c3695ec845c4a1014a7a3f8a9c868ce44 /svx | |
parent | ab864bd178a44208c98a2fd1b1248df5f1db1fc9 (diff) |
Fix typos
Change-Id: I66feced8bed05c7859e36a6d2f746a7faf30c7a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape3d.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index d378a0d1ff85..c967261cfd22 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -611,7 +611,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( aBoundAfter2DTransform.SetRight(aTotalPolyPolyRange.getMaxX()); aBoundAfter2DTransform.SetBottom(aTotalPolyPolyRange.getMaxY()); - // Property "Origin" in API is relativ to bounding box of shape after 2D + // Property "Origin" in API is relative to bounding box of shape after 2D // transformations. Range is [-0.5;0.5] with center of bounding box as 0. // Resolve "Origin" fractions to length GetOrigin( rGeometryItem, fOriginX, fOriginY ); @@ -625,7 +625,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( // Translate point "Origin" too. fOriginX -= aCenter.X(); fOriginY -= -aCenter.Y(); - // API ViewPoint values are relativ to point "Origin" and have y-axis down. + // API ViewPoint values are relative to point "Origin" and have y-axis down. // ToDo: These default ViewPoint values are used as default by MS Office. But ODF // default is (3500, -3500, 25000), details in tdf#146192. drawing::Position3D aViewPointDefault( 3472, -3472, 25000 ); @@ -653,8 +653,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( // NbcSetTransform has not updated the scene 2D rectangles. // Idea: Get a bound volume as polygon from bound rectangle of shape without 2D - // transfomations. Calculate its projection to the XY-plane. Then calculate the bounding - // rectangle of the projection and convert this rectangle back to absolut 2D coordinates. + // transformations. Calculate its projection to the XY-plane. Then calculate the bounding + // rectangle of the projection and convert this rectangle back to absolute 2D coordinates. // Set that as 2D rectangle of the scene. const tools::Polygon aPolygon(aBoundRect2d); // y-up basegfx::B3DPolygon aPolygonBoundVolume; // y-down, scene coordinates |