summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 08:43:21 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-26 20:37:59 +0000
commit5ad636acc61eabd8123bea5b203e2c49a80f9ce3 (patch)
treec628b885d8e308a58cc4676f380bae5790b3d1f0 /basic
parent19882e0c7daeaa16cbdbca2838064d4ad8762649 (diff)
Fix typos
Change-Id: Idbf0aa261b829e83d4c08a2e989a4ced871dc6de Reviewed-on: https://gerrit.libreoffice.org/35616 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/eventatt.cxx2
-rw-r--r--basic/source/comp/exprtree.cxx2
-rw-r--r--basic/source/runtime/methods.cxx2
-rw-r--r--basic/source/sbx/sbxexec.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 05df7986ddfe..bb7b77c2ddf2 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -537,7 +537,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
// Add dialog model to dispose vector
Reference< XComponent > xDlgComponent( xCntrl->getModel(), UNO_QUERY );
GetSbData()->pInst->getComponentVector().push_back( xDlgComponent );
- // need ThisCompoent from calling script
+ // need ThisComponent from calling script
}
// preserve existing bad behaviour, it's possible... but probably
// illegal to open 2 dialogs ( they ARE modal ) when this happens, sometimes
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 5249eadd9ac5..0a8b665e4ecb 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -103,7 +103,7 @@ static bool DoParametersFollow( SbiParser* p, SbiExprType eCurExpr, SbiToken eTo
else // check for default params with reserved names ( e.g. names of tokens )
{
SbiTokenizer tokens( *static_cast<SbiTokenizer*>(p) );
- // Urk the Next() / Peek() symantics are... weird
+ // Urk the Next() / Peek() semantics are... weird
tokens.Next();
if ( tokens.Peek() == ASSIGN )
{
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index a87a8fc1368c..3371d6eecd3f 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4903,7 +4903,7 @@ bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double&
// 2000, 13, xx = 2001, 1, xx ( or January of the following year )
if( ( nMonth < 1 ) || ( nMonth > 12 ) )
{
- // inacurrate around leap year, don't use days to calculate,
+ // inaccurate around leap year, don't use days to calculate,
// just modify the months directory
sal_Int16 nYearAdj = ( nMonth /12 ); // default to positive months inputed
if ( nMonth <=0 )
diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx
index 1a671a654512..f5e811a2b656 100644
--- a/basic/source/sbx/sbxexec.cxx
+++ b/basic/source/sbx/sbxexec.cxx
@@ -212,7 +212,7 @@ static SbxVariableRef PlusMinus( SbxObject* pObj, SbxObject* pGbl, const sal_Uni
SbxVariableRef refVar2( MulDiv( pObj, pGbl, &p ) );
if( refVar2.is() )
{
- // temporaere Variable!
+ // temporary Variable!
SbxVariable* pVar = refVar.get();
pVar = new SbxVariable( *pVar );
refVar = pVar;