diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-11-19 21:29:23 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-11-19 21:57:17 +0100 |
commit | 86b8c063a47c1cca13bc208e17eac0d8d96d9072 (patch) | |
tree | 36d4ff66aedc3b2f2e5f734ddb62753eb4fd4993 /sw | |
parent | 2b2f1352c72280dd25ed3bef090a3c708ee4b964 (diff) |
Fix typos
Change-Id: I964528cf4f3b81230c683011e1878b28378b0014
Reviewed-on: https://gerrit.libreoffice.org/44915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/htmltbl.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/notxtfrm.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/inc/frame.hxx | 8 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index db087caff864..9408d76aa681 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -1763,7 +1763,7 @@ bool SwHTMLTableLayout::Resize( sal_uInt16 nAbsAvail, bool bRecalc, } // Optimisation: - // If the minimums or maximums should not be recalculated and + // If the minimum or maximum should not be recalculated and // - the table's width never needs to be recalculated, or // - the table was already calculated for the passed width, or // - the available space is less or equal to the minimum width diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index 1ebb9aaf0944..1ff730d580fb 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -1010,7 +1010,7 @@ void paintGraphicUsingPrimitivesHelper( // need to use that. Usually the renderer would be a VCL-based // PrimitiveRenderer, but there are system-specific shortcuts that // will *not* use the VCL-Paint of Bitmap and thus ignore this. - // Anyways, indirectly using a CLipRegion set at the taget OutDev + // Anyways, indirectly using a CLipRegion set at the target OutDev // when using a PrimitiveRenderer is a non-valid implication. // First tried only to use when HasPolyPolygonOrB2DPolyPolygon(), // but there is an optimization at ClipRegion creation that detects diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index 2dd8cffbf300..56558e29b7fe 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -857,7 +857,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou aOldRect.Left() + basegfx::fround(aOldRect.GetWidth() * rRef.getX()), aOldRect.Top() + basegfx::fround(aOldRect.GetHeight() * rRef.getY())); - // appy transformation, use old ResizeRect for now + // apply transformation, use old ResizeRect for now tools::Rectangle aNewRect( aOldRect ); ResizeRect( aNewRect, @@ -928,7 +928,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou const basegfx::B2DPoint aFormerCenter( GetFlyFrame()->getFrameAreaTransformation() * basegfx::B2DPoint(0.5, 0.5)); - // define the existing rotaiton around that former center + // define the existing rotation around that former center const basegfx::B2DHomMatrix aRotFormerCenter( basegfx::utils::createRotateAroundPoint( aFormerCenter.getX(), @@ -942,7 +942,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou aRotFormerCenter * basegfx::B2DPoint(aNewCenter.X(), aNewCenter.Y())); // Create the new TopLeft of the unrotated, cropped object by creating - // as if re-rceating the unrotated geometry + // as if re-creating the unrotated geometry aNewTopLeft = Point( basegfx::fround(aRotNewCenter.getX() - (0.5 * aNewRect.getWidth())), basegfx::fround(aRotNewCenter.getY() - (0.5 * aNewRect.getHeight()))); @@ -993,7 +993,7 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef, const Fraction& xFact, const aNewMat.scale(double(xFact), double(yFact)); aNewMat.translate(aRef.getX(), aRef.getY()); - // get center of transfomed state + // get center of transformed state const basegfx::B2DPoint aCenter(aNewMat * basegfx::B2DPoint(0.5, 0.5)); // decompose to extract scale diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index cc455a995008..25b65a992ff6 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -201,7 +201,7 @@ public: // for the FrameArea and FramePrintArea. // FramePrintArea is not relative to FrameArea in this // transformation representation (to make it easier to use and understand). - // There is no 'set' method since SwFrame is a layout obejct. For + // There is no 'set' method since SwFrame is a layout object. For // some cases rotation will be included (used for SwGrfNode in inner // SwFrame of a SwFlyFrame) virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const; @@ -222,7 +222,7 @@ private: SwFrameAreaDefinition& mrSwFrameAreaDefinition; // FrameAreaTransformation and FramePrintAreaTransformation - // !identtity when needed (translate/scale is used (e.g. rotation)) + // !identity when needed (translate/scale is used (e.g. rotation)) basegfx::B2DHomMatrix maFrameAreaTransformation; basegfx::B2DHomMatrix maFramePrintAreaTransformation; @@ -252,13 +252,13 @@ public: SwRect getUntransformedFramePrintArea() const; // Helper method to re-create FrameAreaTransformations based on the - // curent FrameAreaDefinition transformed by given rotation and Center + // current FrameAreaDefinition transformed by given rotation and Center void createFrameAreaTransformations( double fRotation, const basegfx::B2DPoint& rCenter); // Tooling method to reset the SwRect(s) in the current - // SwFrameAreaDefinition which are already apapted to + // SwFrameAreaDefinition which are already adapted to // Transformation back to the untransformed state, using // the getUntransformedFrame*Area calls above when needed. // Only the SwRect(s) are changed back, not the transformations. diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 9e7c114988e0..95ab936fca09 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -278,7 +278,7 @@ void MSWordExportBase::OutputItemSet( const SfxItemSet& rSet, bool bPapFormat, b { AttrOutput().OutputItem( *pItem ); - // switch off the numerbering? + // switch off the numbering? if ( static_cast<const SwNumRuleItem*>(pItem)->GetValue().isEmpty() && SfxItemState::SET != rSet.GetItemState( RES_LR_SPACE, false) && SfxItemState::SET == rSet.GetItemState( RES_LR_SPACE, true, &pItem ) ) |