summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-05-20 22:28:55 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2016-07-01 09:50:27 +0000
commit6b400cd64e6fa2b69926cbb5f2bcbf339dd2348f (patch)
tree1081e13d6eb8d0a018e10ac18d069cd5afc9c324 /filter
parent27b3bfbe3139a8b21b8d01a74ac2e71423f4edb6 (diff)
bccu#1800 fix bogus loops in slide animations and transitions
Change-Id: Ic0b6a7b526f4ae09653d29f73bff7fde78a25cbf Reviewed-on: https://gerrit.libreoffice.org/26833 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index ea5774acf191..c9222f5b44c9 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -13381,7 +13381,7 @@ function ElapsedTime( aTimeBase )
{
this.aTimeBase = aTimeBase;
this.nLastQueriedTime = 0.0;
- this.nStartTime = this.getSystemTime();
+ this.nStartTime = this.getCurrentTime();
this.nFrozenTime = 0.0;
this.bInPauseMode = false;
this.bInHoldMode = false;
@@ -13396,7 +13396,7 @@ ElapsedTime.prototype.getTimeBase = function()
ElapsedTime.prototype.reset = function()
{
this.nLastQueriedTime = 0.0;
- this.nStartTime = this.getSystemTime();
+ this.nStartTime = this.getCurrentTime();
this.nFrozenTime = 0.0;
this.bInPauseMode = false;
this.bInHoldMode = false;