summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx2
-rw-r--r--drawinglayer/source/primitive2d/animatedprimitive2d.cxx4
-rw-r--r--drawinglayer/source/primitive2d/baseprimitive2d.cxx6
-rw-r--r--drawinglayer/source/primitive2d/cropprimitive2d.cxx4
-rw-r--r--drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx6
-rw-r--r--drawinglayer/source/primitive2d/shadowprimitive2d.cxx2
-rw-r--r--drawinglayer/source/primitive2d/softedgeprimitive2d.cxx2
-rw-r--r--drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/baseprocessor2d.cxx6
9 files changed, 17 insertions, 17 deletions
diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx
index 6846a3bcdd26..769b23fb5b80 100644
--- a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx
+++ b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx
@@ -43,7 +43,7 @@ void BufferedDecompositionPrimitive2D::get2DDecomposition(
std::move(aNewSequence));
}
- rVisitor.append(getBuffered2DDecomposition());
+ rVisitor.visit(getBuffered2DDecomposition());
}
} // end of namespace drawinglayer::primitive2d
diff --git a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
index adb66dddb36c..5873ee69a51f 100644
--- a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
@@ -77,7 +77,7 @@ namespace drawinglayer::primitive2d
}
const Primitive2DReference xRef(getChildren()[nIndex], uno::UNO_SET_THROW);
- rVisitor.append(xRef);
+ rVisitor.visit(xRef);
}
// provide unique ID
@@ -185,7 +185,7 @@ namespace drawinglayer::primitive2d
// create new transform primitive reference, return new sequence
Primitive2DReference xRef(new TransformPrimitive2D(aTargetTransform, Primitive2DContainer(getChildren())));
- rVisitor.append(xRef);
+ rVisitor.visit(xRef);
}
else
{
diff --git a/drawinglayer/source/primitive2d/baseprimitive2d.cxx b/drawinglayer/source/primitive2d/baseprimitive2d.cxx
index 71a13346beff..86eaa37eb976 100644
--- a/drawinglayer/source/primitive2d/baseprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/baseprimitive2d.cxx
@@ -112,15 +112,15 @@ public:
: mrViewInformation(rViewInformation)
{
}
- virtual void append(const Primitive2DReference& r) override
+ virtual void visit(const Primitive2DReference& r) override
{
maRetval.expand(getB2DRangeFromPrimitive2DReference(r, mrViewInformation));
}
- virtual void append(const Primitive2DContainer& r) override
+ virtual void visit(const Primitive2DContainer& r) override
{
maRetval.expand(r.getB2DRange(mrViewInformation));
}
- virtual void append(Primitive2DContainer&& r) override
+ virtual void visit(Primitive2DContainer&& r) override
{
maRetval.expand(r.getB2DRange(mrViewInformation));
}
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);
}
}
diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
index c91dd683106b..c8a4da035455 100644
--- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
+++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
@@ -442,7 +442,7 @@ namespace drawinglayer::primitive2d
if (aRetval.is())
{
- rVisitor.append(aRetval);
+ rVisitor.visit(aRetval);
return;
}
@@ -461,14 +461,14 @@ namespace drawinglayer::primitive2d
if (aRetval.is())
{
- rVisitor.append(aRetval);
+ rVisitor.visit(aRetval);
return;
}
// did not work (not buffered and not 1st frame), create from buffer
aRetval = createFromBuffer();
- rVisitor.append(aRetval);
+ rVisitor.visit(aRetval);
}
} // end of namespace
diff --git a/drawinglayer/source/primitive2d/shadowprimitive2d.cxx b/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
index 6ea066b35754..758aca3d2f35 100644
--- a/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
@@ -80,7 +80,7 @@ namespace drawinglayer::primitive2d
Primitive2DContainer aSequenceB { xRefA };
// build transformed primitiveVector with shadow offset and add to target
- rVisitor.append(new TransformPrimitive2D(getShadowTransform(), std::move(aSequenceB)));
+ rVisitor.visit(new TransformPrimitive2D(getShadowTransform(), std::move(aSequenceB)));
}
// provide unique ID
diff --git a/drawinglayer/source/primitive2d/softedgeprimitive2d.cxx b/drawinglayer/source/primitive2d/softedgeprimitive2d.cxx
index 98a3bea752eb..59cf59cd7679 100644
--- a/drawinglayer/source/primitive2d/softedgeprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/softedgeprimitive2d.cxx
@@ -60,7 +60,7 @@ void SoftEdgePrimitive2D::get2DDecomposition(
const Primitive2DReference xRef(
new ModifiedColorPrimitive2D(Primitive2DContainer(getChildren()), aBColorModifier));
- rVisitor.append(xRef);
+ rVisitor.visit(xRef);
}
sal_uInt32 SoftEdgePrimitive2D::getPrimitive2DID() const
diff --git a/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx b/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
index c50fcb008435..56b284619362 100644
--- a/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/unifiedtransparenceprimitive2d.cxx
@@ -93,7 +93,7 @@ namespace drawinglayer::primitive2d
aTransparenceContent[1] = Primitive2DReference(new PolygonHairlinePrimitive2D(aPolygon, aGray));
// create sub-transparence group with a gray-colored rectangular fill polygon
- rVisitor.append(new TransparencePrimitive2D(Primitive2DContainer(getChildren()), std::move(aTransparenceContent)));
+ rVisitor.visit(new TransparencePrimitive2D(Primitive2DContainer(getChildren()), std::move(aTransparenceContent)));
}
else
{
diff --git a/drawinglayer/source/processor2d/baseprocessor2d.cxx b/drawinglayer/source/processor2d/baseprocessor2d.cxx
index a078fe882e9e..b4291dd4431c 100644
--- a/drawinglayer/source/processor2d/baseprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/baseprocessor2d.cxx
@@ -46,16 +46,16 @@ namespace drawinglayer::processor2d
}
// Primitive2DDecompositionVisitor
- void BaseProcessor2D::append(const primitive2d::Primitive2DReference& rCandidate)
+ void BaseProcessor2D::visit(const primitive2d::Primitive2DReference& rCandidate)
{
const primitive2d::BasePrimitive2D* pBasePrimitive = static_cast< const primitive2d::BasePrimitive2D* >(rCandidate.get());
processBasePrimitive2D(*pBasePrimitive);
}
- void BaseProcessor2D::append(const primitive2d::Primitive2DContainer& rContainer)
+ void BaseProcessor2D::visit(const primitive2d::Primitive2DContainer& rContainer)
{
process(rContainer);
}
- void BaseProcessor2D::append(primitive2d::Primitive2DContainer&& rCandidate)
+ void BaseProcessor2D::visit(primitive2d::Primitive2DContainer&& rCandidate)
{
process(rCandidate);
}