summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/animatedprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/animatedprimitive2d.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
index 713c4bd52bcd..13564af2bce5 100644
--- a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx
@@ -33,9 +33,6 @@ namespace drawinglayer
{
void AnimatedSwitchPrimitive2D::setAnimationEntry(const animation::AnimationEntry& rNew)
{
- // delete cloned animation description
- delete mpAnimationEntry;
-
// clone given animation description
mpAnimationEntry = rNew.clone();
}
@@ -45,7 +42,6 @@ namespace drawinglayer
const Primitive2DContainer& rChildren,
bool bIsTextAnimation)
: GroupPrimitive2D(rChildren),
- mpAnimationEntry(nullptr),
mbIsTextAnimation(bIsTextAnimation)
{
// clone given animation description
@@ -54,8 +50,6 @@ namespace drawinglayer
AnimatedSwitchPrimitive2D::~AnimatedSwitchPrimitive2D()
{
- // delete cloned animation description
- delete mpAnimationEntry;
}
bool AnimatedSwitchPrimitive2D::operator==(const BasePrimitive2D& rPrimitive) const