summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/viewobjectcontact.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 09:12:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 08:59:30 +0100
commit20ff62d319d9a8195a59d5b27ccc52d9000992c0 (patch)
treef32c6393778d7718e1cdda7f2281f8dfbf4dd591 /svx/source/sdr/contact/viewobjectcontact.cxx
parent8eb2d2972583b909a249f5b0f22a9b1fbf533d24 (diff)
loplugin:expandablemethods
Change-Id: Ifc269d9996928085a3ab78033788465b4f029368 Reviewed-on: https://gerrit.libreoffice.org/85255 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sdr/contact/viewobjectcontact.cxx')
-rw-r--r--svx/source/sdr/contact/viewobjectcontact.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index d15ba27dd9f9..9d52001d9bde 100644
--- a/svx/source/sdr/contact/viewobjectcontact.cxx
+++ b/svx/source/sdr/contact/viewobjectcontact.cxx
@@ -76,8 +76,6 @@ public:
// data access
const drawinglayer::primitive2d::Primitive2DContainer& getPrimitive2DSequence() const { return maPrimitive2DSequence; }
- bool isTextAnimationAllowed() const { return mbTextAnimationAllowed; }
- bool isGraphicAnimationAllowed() const { return mbGraphicAnimationAllowed; }
};
AnimatedExtractingProcessor2D::AnimatedExtractingProcessor2D(
@@ -103,8 +101,8 @@ void AnimatedExtractingProcessor2D::processBasePrimitive2D(const drawinglayer::p
{
const drawinglayer::primitive2d::AnimatedSwitchPrimitive2D& rSwitchPrimitive = static_cast< const drawinglayer::primitive2d::AnimatedSwitchPrimitive2D& >(rCandidate);
- if((rSwitchPrimitive.isTextAnimation() && isTextAnimationAllowed())
- || (rSwitchPrimitive.isGraphicAnimation() && isGraphicAnimationAllowed()))
+ if((rSwitchPrimitive.isTextAnimation() && mbTextAnimationAllowed)
+ || (rSwitchPrimitive.isGraphicAnimation() && mbGraphicAnimationAllowed))
{
const drawinglayer::primitive2d::Primitive2DReference xReference(const_cast< drawinglayer::primitive2d::BasePrimitive2D* >(&rCandidate));
maPrimitive2DSequence.push_back(xReference);