drawinglayer/source/processor2d/cairopixelprocessor2d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 99c660a95cb431b4c0330ab4fba54a5eef2e24b6 Author: Andrea Gelmini <[email protected]> AuthorDate: Fri Jul 19 13:08:03 2024 +0200 Commit: Andrea Gelmini <[email protected]> CommitDate: Fri Jul 19 20:20:56 2024 +0200 Fix typo Change-Id: I3116ab658b21b0069c8b5f8e87723bbf4b84572e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170755 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <[email protected]> diff --git a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx index e49ab17931ab..bf9b582a994f 100644 --- a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx @@ -1963,7 +1963,7 @@ void CairoPixelProcessor2D::processFillGradientPrimitive2D_linear_axial( const bool bAngle(!basegfx::fTools::equalZero(fAngle)); const basegfx::B2DPoint aCenter(aAdaptedRange.getCenter()); - // pack rotation and offset into a transformation that coverts that part + // pack rotation and offset into a transformation covering that part basegfx::B2DHomMatrix aRotation(basegfx::utils::createRotateAroundPoint(aCenter, fAngle)); // create local transform to work in object coordinates based on OutputRange, @@ -2378,7 +2378,7 @@ void CairoPixelProcessor2D::processFillGradientPrimitive2D_radial_elliptical( const double fOffxsetX(std::max(std::min(rFillGradient.getOffsetX(), 1.0), 0.0)); const double fOffxsetY(std::max(std::min(rFillGradient.getOffsetY(), 1.0), 0.0)); - // pack rotation and offset into a combined transformation that coverts that parts + // pack rotation and offset into a combined transformation covering that parts basegfx::B2DHomMatrix aRotAndTranslate; aRotAndTranslate.translate(-aCenter.getX(), -aCenter.getY()); if (bAngle)
