drawinglayer/source/processor2d/cairopixelprocessor2d.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 7118f7e8003cf6c5c7244dac1ffd9eaa408e22d9
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Jul 19 20:30:36 2024 +0200
Commit:     Andrea Gelmini <andrea.gelm...@gelma.net>
CommitDate: Sat Jul 20 00:32:11 2024 +0200

    Fix typos
    
    Implementing Christian fixes from comments here:
    https://gerrit.libreoffice.org/c/core/+/169901/3
    
    Change-Id: I66c2e596820f481a78e8129d5e77ac292eb8b925
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170779
    Tested-by: Jenkins
    Reviewed-by: Andrea Gelmini <andrea.gelm...@gelma.net>

diff --git a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx 
b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx
index 28fe0142b898..365384375e05 100644
--- a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx
@@ -948,8 +948,8 @@ void CairoPixelProcessor2D::processBitmapPrimitive2D(
     }
     else
     {
-        // Alternative: for RGBA, resize/scale SLIGHTLY so that
-        // half pixel overlap is forced to be inside the unit range.
+        // Alternative: for RGBA, resize/scale it SLIGHTLY to force
+        // that half pixel overlap to be inside the unit range.
         // That makes the error disappear, so no clip needed, but
         // SLIGHTLY smaller.
         if (CAIRO_FORMAT_ARGB32 == cairo_image_surface_get_format(pTarget))
@@ -1038,7 +1038,7 @@ void 
CairoPixelProcessor2D::processPolygonHairlinePrimitive2D(
     cairo_set_source_rgb(mpRT, aHairlineColor.getRed(), 
aHairlineColor.getGreen(),
                          aHairlineColor.getBlue());
 
-    // set LineWidth, use cairo special cairo_set_hairline
+    // set LineWidth, use Cairo's special cairo_set_hairline
     impl_cairo_set_hairline(mpRT, getViewInformation2D());
 
     // get PathGeometry & paint it
@@ -2574,7 +2574,7 @@ void 
CairoPixelProcessor2D::processFillGradientPrimitive2D(
     // basegfx::BColorStops (as tooling, like isSymmetrical() or similar).
     // due to the nature of 'step'ing this also means a low number of
     // filled polygons to be drawn (no 'smooth' parts to be replicated),
-    // so this is not runtime burner by definition.
+    // so this is no runtime burner by definition.
     // Making this configurable using static bool, may be moved to settings
     // somewhere later. Do not forget to deactivate when working on 'step'ping
     // stuff in the other helpers (!)

Reply via email to