summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/cropprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/cropprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/cropprimitive2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/cropprimitive2d.cxx b/drawinglayer/source/primitive2d/cropprimitive2d.cxx
index c3644e269fd2..0088e2f349b2 100644
--- a/drawinglayer/source/primitive2d/cropprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/cropprimitive2d.cxx
@@ -66,7 +66,7 @@ namespace drawinglayer
return false;
}
- void CropPrimitive2D::get2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*rViewInformation*/) const
+ void CropPrimitive2D::get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& /*rViewInformation*/) const
{
if(!getChildren().empty())
{
@@ -126,7 +126,7 @@ namespace drawinglayer
{
// the new range is completely inside the old range (unit range),
// so no masking is needed
- rContainer.push_back(xTransformPrimitive);
+ rVisitor.append(xTransformPrimitive);
}
else
{
@@ -140,7 +140,7 @@ namespace drawinglayer
aMaskPolyPolygon,
Primitive2DContainer { xTransformPrimitive }));
- rContainer.push_back(xMask);
+ rVisitor.append(xMask);
}
}
}