diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /drawinglayer | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'drawinglayer')
9 files changed, 13 insertions, 13 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx index 038e3e928be6..b2df3a35b007 100644 --- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx @@ -282,7 +282,7 @@ primitive2d::Primitive2DReference makeSolidLinePrimitive( basegfx::B2DPolygon aDash = aDashed.getB2DPolygon(i); if (bIsHairline) { - // Convert a rectanglar polygon into a line. + // Convert a rectangular polygon into a line. basegfx::B2DPolygon aDash2; basegfx::B2DRange aRange = aDash.getB2DRange(); aDash2.append(basegfx::B2DPoint(aRange.getMinX(), aRange.getMinY())); diff --git a/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx b/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx index cc7a1a0cdfec..f316cfe0cff6 100644 --- a/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx @@ -291,7 +291,7 @@ namespace drawinglayer // PolyPolygons where each one describes a 'ring' for the gradient such // that the rings will not overlap. This is useful for the old XOR-paint // 'trick' of VCL which is recorded in Metafiles; so this version may be - // used from the MetafilePrimitive2D in it's decomposition. + // used from the MetafilePrimitive2D in its decomposition. if(!getFillGradient().isDefault()) { diff --git a/drawinglayer/source/primitive2d/groupprimitive2d.cxx b/drawinglayer/source/primitive2d/groupprimitive2d.cxx index 6ad6e7759f83..6678acfbc8db 100644 --- a/drawinglayer/source/primitive2d/groupprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/groupprimitive2d.cxx @@ -52,7 +52,7 @@ namespace drawinglayer return false; } - /// default: just return children, so all renderers not supporting group will use it's content + /// default: just return children, so all renderers not supporting group will use its content Primitive2DContainer GroupPrimitive2D::get2DDecomposition(const geometry::ViewInformation2D& /*rViewInformation*/) const { return getChildren(); diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 167eb712a75f..480ed3e36a02 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1025,7 +1025,7 @@ namespace /** helper to handle the change of RasterOp. It takes care of encapsulating all current geometry to the current RasterOp (if changed) and needs to be called on any RasterOp change. It will also start a new geometry target to embrace to the new RasterOp if - a changuing RasterOp is used. Currently, ROP_XOR and ROP_INVERT are supported using + a changing RasterOp is used. Currently, ROP_XOR and ROP_INVERT are supported using InvertPrimitive2D, and ROP_0 by using a ModifiedColorPrimitive2D to force to black paint */ void HandleNewRasterOp( @@ -2105,7 +2105,7 @@ namespace // VCL AFAP. // Since AddTextRectActions is the only way as long as we do not have // a simple text layouter available, i will try to add it to the - // TextLayouterDevice isloation. + // TextLayouterDevice isolation. drawinglayer::primitive2d::TextLayouterDevice aTextLayouterDevice; aTextLayouterDevice.setFont(rPropertyHolders.Current().getFont()); GDIMetaFile aGDIMetaFile; @@ -3003,7 +3003,7 @@ namespace // apply general current transformation aSubTransform = rPropertyHolders.Current().getTransformation() * aSubTransform; - // evtl. embed sub-content to it's transformation + // evtl. embed sub-content to its transformation if(!aSubTransform.isIdentity()) { const drawinglayer::primitive2d::Primitive2DReference aEmbeddedTransform( @@ -3098,7 +3098,7 @@ namespace { // XGRAD_SEQ_BEGIN, XGRAD_SEQ_END should be supported since the // pure recorded paint of the gradients uses the XOR paint functionality - // ('trick'). This is (and will be) broblematic with AntAliasing, so it's + // ('trick'). This is (and will be) problematic with AntAliasing, so it's // better to use this info const MetaGradientExAction* pMetaGradientExAction = nullptr; bool bDone(false); diff --git a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx index d69efacea6b9..60808e9e6858 100644 --- a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx @@ -357,7 +357,7 @@ namespace drawinglayer // range by half line width will not work, so use decomposition. Interestingly, // the grow method below works perfectly for LineCap_ROUND since the grow is in // all directions and the rounded cap needs the same grow in all directions independent - // from it's orientation. Unfortunately this is not the case for drawing::LineCap_SQUARE + // from its orientation. Unfortunately this is not the case for drawing::LineCap_SQUARE bUseDecomposition = true; } diff --git a/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx b/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx index 64cfc35bc2e8..00b1eb08ee6e 100644 --- a/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx @@ -54,7 +54,7 @@ namespace drawinglayer -getRotationCenter().getX(), -getRotationCenter().getY())); aBackTransform.rotate(-getDirection()); - // prepare transform of sub-group back to it's position and rotation + // prepare transform of sub-group back to its position and rotation basegfx::B2DHomMatrix aForwardTransform(basegfx::tools::createRotateB2DHomMatrix(getDirection())); aForwardTransform.translate(getRotationCenter().getX(), getRotationCenter().getY()); diff --git a/drawinglayer/source/primitive3d/groupprimitive3d.cxx b/drawinglayer/source/primitive3d/groupprimitive3d.cxx index fc266ae825da..c042bf4a199a 100644 --- a/drawinglayer/source/primitive3d/groupprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/groupprimitive3d.cxx @@ -52,7 +52,7 @@ namespace drawinglayer return false; } - /// default: just return children, so all renderers not supporting group will use it's content + /// default: just return children, so all renderers not supporting group will use its content Primitive3DContainer GroupPrimitive3D::get3DDecomposition(const geometry::ViewInformation3D& /*rViewInformation*/) const { return getChildren(); diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index f5d97280305f..f8c3e8054c90 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -587,7 +587,7 @@ namespace drawinglayer Used inside OutputDevice::DrawGradient to mark the start and end of a MetaGradientEx action. It is used in various exporters/importers to have direct access to the gradient before it is rendered by VCL (and thus fragmented to polygon color actions and others). On that base, e.g. - the Metafile to SdrObject import creates it's gradient objects. + the Metafile to SdrObject import creates its gradient objects. Best (and safest) way to support it here is to use PRIMITIVE2D_ID_POLYPOLYGONGRADIENTPRIMITIVE2D, map it back to the corresponding tools tools::PolyPolygon and the Gradient and just call OutputDevice::DrawGradient which creates the necessary compatible actions. @@ -669,7 +669,7 @@ namespace drawinglayer - TextHierarchyParagraphPrimitive2D: Encapsulates single paragraph - TextHierarchyBlockPrimitive2D: encapsulates object texts (only one ATM) Those are now supported in hierarchy. This means the MetaFile renderer will support them - by using them, reculrively using their content and adding MetaFile comments as needed. + by using them, recursively using their content and adding MetaFile comments as needed. This also means that when another text layouter will be used it will be necessary to create/support the same HierarchyPrimitives to support users. To transport the information using this hierarchy is best suited to all future needs; diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 2d411f38e14e..ebace481bb8f 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -797,7 +797,7 @@ namespace drawinglayer // to primitives) it is necessary to reduce maximum pixel size by 1 in X and Y and to use // the inner pixel bounds accordingly (ceil resp. floor). This will also be done for logic // units e.g. when creating a new MetaFile, but since much huger value ranges are used - // there typically will be okay for this compromize. + // there typically will be okay for this compromise. Rectangle aDestRectView( // !!CAUTION!! Here, ceil and floor are exchanged BY PURPOSE, do NOT copy when // looking for a standard conversion to rectangle (!) |