summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-20 13:05:32 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-21 15:23:16 +0200
commit857c09a250c39185ea9138d3a5b3bac7dc899091 (patch)
tree55b88413892af51552aaa6a9236e9e85142203eb /vbahelper
parentba34f7a04addba42b9c6f46d6be7243bbbf2bab6 (diff)
Fix typo in code
Change-Id: I282cbdd68e306fec0a19fb33244526480a8207a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101105 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbaapplicationbase.cxx4
1 files changed, 2 insertions, 2 deletions
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();
}