diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-03 15:37:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-04 11:59:20 +0100 |
commit | ca05d480bd4456342f290f975a7353b7d9a63e95 (patch) | |
tree | 298c0b29c3bc0802cac36c635f8cffeaa9cdb8ae /drawinglayer/source/primitive2d/cropprimitive2d.cxx | |
parent | 0a596fbd94e1750e9d1f5cdab624c719b33c3ab4 (diff) |
rename Primitive2DDecompositionVisitor methods
from "append" to "visit"
The current naming comes from when I created this class as replacement
for passing Primitive2DContainer around and the naming was meant to
reduce code churn.
But now that I'm using it more, the naming is an impediment to
understanding the code.
Change-Id: I4ee0156c7ffb534eac64f1c05eac6b8c67c25ab9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126321
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/cropprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/cropprimitive2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/cropprimitive2d.cxx b/drawinglayer/source/primitive2d/cropprimitive2d.cxx index 06a7e2726f04..76393ad05507 100644 --- a/drawinglayer/source/primitive2d/cropprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/cropprimitive2d.cxx @@ -126,7 +126,7 @@ namespace drawinglayer::primitive2d { // the new range is completely inside the old range (unit range), // so no masking is needed - rVisitor.append(xTransformPrimitive); + rVisitor.visit(xTransformPrimitive); } else { @@ -140,7 +140,7 @@ namespace drawinglayer::primitive2d aMaskPolyPolygon, Primitive2DContainer { xTransformPrimitive })); - rVisitor.append(xMask); + rVisitor.visit(xMask); } } |