diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:53 -0400 |
commit | d955148381be3496b091fab7c2335d080634d376 (patch) | |
tree | fed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /drawinglayer | |
parent | 1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff) |
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
(cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067)
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'drawinglayer')
7 files changed, 11 insertions, 11 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx index c3d5119fc46c..25e03d8978e4 100644 --- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx @@ -315,7 +315,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 f2ba0606a09f..6975a1e9947d 100644 --- a/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx @@ -287,7 +287,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/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 4df709aa5973..62a82b870781 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1017,7 +1017,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( @@ -2097,7 +2097,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; @@ -2995,7 +2995,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( @@ -3090,7 +3090,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 5cb7640affca..1f157ff6f2f5 100644 --- a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx @@ -356,7 +356,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 5e9e7bd41dd6..a4c3a6cbfe3c 100644 --- a/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/texteffectprimitive2d.cxx @@ -53,7 +53,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/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 2b646b461083..3dcc164eed35 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 45a92aeec6ba..b1281bc65968 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -800,7 +800,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 (!) |