[Libreoffice-commits] core.git: svx/source
Henry Castro
hcastro at collabora.com
Mon Jun 15 03:30:00 PDT 2015
svx/source/sdr/animation/animationstate.cxx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
New commits:
commit b01c8a2d1bfcb79dedd4e0d093965d35c68ee937
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Jun 14 15:00:23 2015 -0400
sdr tiled rendering: stop animation timer's task
Change-Id: Ia7281c853454e283150bba3c79aa9579363c7ca3
diff --git a/svx/source/sdr/animation/animationstate.cxx b/svx/source/sdr/animation/animationstate.cxx
index 58e2ac3..bc7b573 100644
--- a/svx/source/sdr/animation/animationstate.cxx
+++ b/svx/source/sdr/animation/animationstate.cxx
@@ -24,6 +24,7 @@
#include <svx/sdr/contact/viewcontact.hxx>
#include <drawinglayer/primitive2d/animatedprimitive2d.hxx>
#include <drawinglayer/animation/animationtiming.hxx>
+#include <comphelper/lok.hxx>
@@ -111,8 +112,9 @@ namespace sdr
mrVOContact(rVOContact),
maAnimatedPrimitives(rAnimatedPrimitives)
{
- // setup initially
- prepareNextEvent();
+ if (!comphelper::LibreOfficeKit::isActive())
+ // setup initially
+ prepareNextEvent();
}
PrimitiveAnimation::~PrimitiveAnimation()
@@ -127,8 +129,9 @@ namespace sdr
// schedule a repaint of associated object
mrVOContact.ActionChanged();
- // re-setup
- prepareNextEvent();
+ if (!comphelper::LibreOfficeKit::isActive())
+ // re-setup
+ prepareNextEvent();
}
} // end of namespace animation
} // end of namespace sdr
More information about the Libreoffice-commits
mailing list