[Libreoffice-commits] core.git: filter/source sw/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 1 10:16:21 UTC 2021


 filter/source/svg/presentation_engine.js |   14 +++++++-------
 sw/source/ui/table/convert.cxx           |    8 ++++----
 sw/source/uibase/inc/convert.hxx         |    2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 7c565e42be7335379b78f313eaffb06123a854e6
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Dec 30 11:23:02 2020 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jan 1 11:15:38 2021 +0100

    Typo in code 'Reapeat'->'Repeat'
    
    Change-Id: I50bd9648584a60feccc115b4e58dff896e1284be
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108499
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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()
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx
index 3684ba04ff56..52bc85e2a46b 100644
--- a/sw/source/ui/table/convert.cxx
+++ b/sw/source/ui/table/convert.cxx
@@ -157,8 +157,8 @@ SwConvertTableDlg::SwConvertTableDlg(SwView& rView, bool bToTable)
     m_xDontSplitCB->set_active(!(nInsTableFlags & SwInsertTableFlags::SplitLayout));
 
     m_xHeaderCB->connect_clicked(LINK(this, SwConvertTableDlg, CheckBoxHdl));
-    m_xRepeatHeaderCB->connect_clicked(LINK(this, SwConvertTableDlg, ReapeatHeaderCheckBoxHdl));
-    ReapeatHeaderCheckBoxHdl(*m_xRepeatHeaderCB);
+    m_xRepeatHeaderCB->connect_clicked(LINK(this, SwConvertTableDlg, RepeatHeaderCheckBoxHdl));
+    RepeatHeaderCheckBoxHdl(*m_xRepeatHeaderCB);
     CheckBoxHdl(*m_xHeaderCB);
 }
 
@@ -189,10 +189,10 @@ IMPL_LINK(SwConvertTableDlg, BtnHdl, weld::Button&, rButton, void)
 IMPL_LINK_NOARG(SwConvertTableDlg, CheckBoxHdl, weld::Button&, void)
 {
     m_xRepeatHeaderCB->set_sensitive(m_xHeaderCB->get_active());
-    ReapeatHeaderCheckBoxHdl(*m_xRepeatHeaderCB);
+    RepeatHeaderCheckBoxHdl(*m_xRepeatHeaderCB);
 }
 
-IMPL_LINK_NOARG(SwConvertTableDlg, ReapeatHeaderCheckBoxHdl, weld::Button&, void)
+IMPL_LINK_NOARG(SwConvertTableDlg, RepeatHeaderCheckBoxHdl, weld::Button&, void)
 {
     bool bEnable = m_xHeaderCB->get_active() && m_xRepeatHeaderCB->get_active();
     m_xRepeatRows->set_sensitive(bEnable);
diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx
index 103490eac0f9..cc7929e9fb64 100644
--- a/sw/source/uibase/inc/convert.hxx
+++ b/sw/source/uibase/inc/convert.hxx
@@ -54,7 +54,7 @@ class SwConvertTableDlg : public SfxDialogController
     DECL_LINK(AutoFormatHdl, weld::Button&, void);
     DECL_LINK(BtnHdl, weld::Button&, void);
     DECL_LINK(CheckBoxHdl, weld::Button&, void);
-    DECL_LINK(ReapeatHeaderCheckBoxHdl, weld::Button&, void);
+    DECL_LINK(RepeatHeaderCheckBoxHdl, weld::Button&, void);
 
 public:
     SwConvertTableDlg(SwView& rView, bool bToTable);


More information about the Libreoffice-commits mailing list