diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-02 11:47:52 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-03 09:47:55 +0200 |
commit | f7613d2132e8115b7741e9397b111508f24615cc (patch) | |
tree | 8fdd0b068ea8579a36156618bbc33d2995345ecc /svx/source/engine3d | |
parent | 3b28713ef82829fd1958d1ecf8c29b7391af78f5 (diff) |
Fix typos
Change-Id: Iaf2691b60796300f6c3acf56f60dcc526685eeb9
Reviewed-on: https://gerrit.libreoffice.org/76855
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r-- | svx/source/engine3d/helperhittest3d.cxx | 4 | ||||
-rw-r--r-- | svx/source/engine3d/helperminimaldepth3d.cxx | 4 | ||||
-rw-r--r-- | svx/source/engine3d/view3d.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/engine3d/helperhittest3d.cxx b/svx/source/engine3d/helperhittest3d.cxx index f5fc02d6456e..39b2ec2fe05a 100644 --- a/svx/source/engine3d/helperhittest3d.cxx +++ b/svx/source/engine3d/helperhittest3d.cxx @@ -67,7 +67,7 @@ static void getAllHit3DObjectWithRelativePoint( if(!rFront.equal(rBack)) { - // rObject is a E3dCompoundObject, so it cannot be a scene (which is a E3dObject) + // rObject is an E3dCompoundObject, so it cannot be a scene (which is an E3dObject) const sdr::contact::ViewContactOfE3d& rVCObject = static_cast< sdr::contact::ViewContactOfE3d& >(rObject.GetViewContact()); const drawinglayer::primitive3d::Primitive3DContainer aPrimitives(rVCObject.getViewIndependentPrimitive3DContainer()); @@ -110,7 +110,7 @@ E3dScene* fillViewInformation3DForCompoundObject(drawinglayer::geometry::ViewInf if(pParentParentScene) { - // pParentScene is a in-between scene + // pParentScene is an in-between scene aInBetweenSceneMatrix = pParentScene->GetTransform() * aInBetweenSceneMatrix; } else diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx index 725dffa0c4d3..bceb7df00f6b 100644 --- a/svx/source/engine3d/helperminimaldepth3d.cxx +++ b/svx/source/engine3d/helperminimaldepth3d.cxx @@ -147,7 +147,7 @@ namespace drawinglayer double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject) { - // this is a E3dCompoundObject, so it cannot be a scene (which is a E3dObject). + // this is an E3dCompoundObject, so it cannot be a scene (which is an E3dObject). // Get primitive sequence using VC const sdr::contact::ViewContactOfE3d& rVCObject = static_cast< sdr::contact::ViewContactOfE3d& >(rObject.GetViewContact()); const drawinglayer::primitive3d::Primitive3DContainer aPrimitives = rVCObject.getViewIndependentPrimitive3DContainer(); @@ -168,7 +168,7 @@ double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject) // and the object's transform is part of aPrimitives (and taken into account when decomposing // to PolygonHairlinePrimitive3D and PolyPolygonMaterialPrimitive3D). The missing part may be // some Scene SdrObjects lying in-between which may need to be added. This is e.g. used in chart, - // and generally allowed in 3d scenes an their 3d object hierarchy + // and generally allowed in 3d scenes and their 3d object hierarchy basegfx::B3DHomMatrix aInBetweenSceneMatrix; E3dScene* pParentScene(rObject.getParentE3dSceneFromE3dObject()); diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index c18557d71f33..b6d170554f64 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -531,7 +531,7 @@ bool E3dView::ImpCloneAll3DObjectsToDestScene(E3dScene const * pSrcScene, E3dSce basegfx::B3DRange aObjectRange(pNewCompoundObj->GetBoundVolume()); aObjectRange.transform(aObjectToWorldTrans); - // get scale adaption + // get scale adaptation const basegfx::B3DVector aSceneScale(aSceneRange.getRange()); const basegfx::B3DVector aObjectScale(aObjectRange.getRange()); double fScale(1.0); @@ -561,7 +561,7 @@ bool E3dView::ImpCloneAll3DObjectsToDestScene(E3dScene const * pSrcScene, E3dSce fScale *= fFactor; } - // get translation adaption + // get translation adaptation const basegfx::B3DPoint aSceneCenter(aSceneRange.getCenter()); const basegfx::B3DPoint aObjectCenter(aObjectRange.getCenter()); |