[Libreoffice-commits] core.git: vbahelper/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 21 13:23:55 UTC 2020


 vbahelper/source/vbahelper/vbaapplicationbase.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 857c09a250c39185ea9138d3a5b3bac7dc899091
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 20 13:05:32 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Aug 21 15:23:16 2020 +0200

    Fix typo in code
    
    Change-Id: I282cbdd68e306fec0a19fb33244526480a8207a0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101105
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
index 286b38bd4b88..924396a962da 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -82,7 +82,7 @@ public:
         return static_cast<double>(nDiffDays) + static_cast<double>(nDiffSeconds)/double(24*3600);
     }
 
-    static sal_Int32 GetTimerMiliseconds( double nFrom, double nTo )
+    static sal_Int32 GetTimerMilliseconds( double nFrom, double nTo )
     {
         double nResult = nTo - nFrom;
         if ( nResult > 0 )
@@ -101,7 +101,7 @@ public:
         m_xBase = xBase;
         m_aTimerInfo = VbaTimerInfo( aFunction, ::std::pair< double, double >( nFrom, nTo ) );
         m_aTimer.SetInvokeHandler( LINK( this, VbaTimer, MacroCallHdl ) );
-        m_aTimer.SetTimeout( GetTimerMiliseconds( GetNow(), nFrom ) );
+        m_aTimer.SetTimeout( GetTimerMilliseconds( GetNow(), nFrom ) );
         m_aTimer.Start();
     }
 


More information about the Libreoffice-commits mailing list