summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-12-30 11:23:02 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-01-01 11:15:38 +0100
commit7c565e42be7335379b78f313eaffb06123a854e6 (patch)
tree29b1fc04c8567200e6cdae693021e0ba5f999931 /filter
parent1c0565ccc9e0a787dd2bd7b8c88f0d36f98c170b (diff)
Typo in code 'Reapeat'->'Repeat'
Change-Id: I50bd9648584a60feccc115b4e58dff896e1284be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108499 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index b4c8d3a63078..9bd2936a019d 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -9774,7 +9774,7 @@ function BaseNode( aAnimElem, aParentNode, aNodeContext )
this.bInteractiveSequenceRootNode = false;
this.eFillMode = FILL_MODE_FREEZE;
this.eRestartMode = RESTART_MODE_NEVER;
- this.nReapeatCount = undefined;
+ this.nRepeatCount = undefined;
this.nAccelerate = 0.0;
this.nDecelerate = 0.0;
this.bAutoReverse = false;
@@ -9843,11 +9843,11 @@ BaseNode.prototype.parseElement = function()
// repeatCount attribute
var sRepeatCount = aAnimElem.getAttributeNS( NSS['smil'], 'repeatCount' );
if( !sRepeatCount )
- this.nReapeatCount = 1;
+ this.nRepeatCount = 1;
else
- this.nReapeatCount = parseFloat( sRepeatCount );
- if( ( isNaN(this.nReapeatCount) ) && ( sRepeatCount != 'indefinite' ) )
- this.nReapeatCount = 1;
+ this.nRepeatCount = parseFloat( sRepeatCount );
+ if( ( isNaN(this.nRepeatCount) ) && ( sRepeatCount != 'indefinite' ) )
+ this.nRepeatCount = 1;
// accelerate attribute
this.nAccelerate = 0.0;
@@ -9882,7 +9882,7 @@ BaseNode.prototype.parseElement = function()
if( this.eFillMode == FILL_MODE_AUTO ) // see SMIL recommendation document
{
this.eFillMode = ( this.aEnd ||
- ( this.nReapeatCount != 1) ||
+ ( this.nRepeatCount != 1) ||
( this.aDuration && !this.aDuration.isIndefinite() ) )
? FILL_MODE_REMOVE
: FILL_MODE_FREEZE;
@@ -10214,7 +10214,7 @@ BaseNode.prototype.getRestartMode = function()
BaseNode.prototype.getRepeatCount = function()
{
- return this.nReapeatCount;
+ return this.nRepeatCount;
};
BaseNode.prototype.getAccelerateValue = function()