summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:42:11 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 05:53:57 +0000
commit9e4c87be31732ed076a059128d2e20451697d225 (patch)
treebfab650dd6d21ac6bbcf0e592ec6bc2e7655acbe /basic
parentef1bafb588eb20a5d35df14e79a1a948885c721a (diff)
Fix typos
Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx2
-rw-r--r--basic/source/classes/sb.cxx2
-rw-r--r--basic/source/classes/sbunoobj.cxx2
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/comp/dim.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index f7db9707f08f..70c6a5580456 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1197,7 +1197,7 @@ bool BasicManager::IsReference( sal_uInt16 nLib )
bool BasicManager::RemoveLib( sal_uInt16 nLib )
{
- // Only pyhsical deletion if no reference
+ // Only physical deletion if no reference
return RemoveLib( nLib, !IsReference( nLib ) );
}
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 31e918843ed5..57080ca15a09 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1366,7 +1366,7 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
pNamed = p;
}
// Only variables qualified by the Module Name e.g. Sheet1.foo
- // should work for Documant && Class type Modules
+ // should work for Document && Class type Modules
sal_Int32 nType = p->GetModuleType();
if ( nType == ModuleType::DOCUMENT || nType == ModuleType::FORM )
{
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index c3a9cc5c102c..299ea38d8a9f 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -1942,7 +1942,7 @@ OUString Impl_DumpMethods( SbUnoObject* pUnoObj )
aRet.append("Methods of object ");
aRet.append( getDbgObjectName( pUnoObj ) );
- // XIntrospectionAccess, so that the types of the parameter could be outputed
+ // XIntrospectionAccess, so that the types of the parameter could be outputted
Reference< XIntrospectionAccess > xAccess = pUnoObj->getIntrospectionAccess();
if( !xAccess.is() )
{
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index ed13469e3e69..1dc43ff20dae 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1096,7 +1096,7 @@ void SbModule::Run( SbMethod* pMeth )
}
// Launcher problem
- // i80726 The Find below will genarate an error in Testtool so we reset it unless there was one before already
+ // i80726 The Find below will generate an error in Testtool so we reset it unless there was one before already
bool bWasError = SbxBase::GetError() != 0;
SbxVariable* pMSOMacroRuntimeLibVar = Find( "Launcher", SbxCLASS_OBJECT );
if ( !bWasError && (SbxBase::GetError() == ERRCODE_SBX_PROC_UNDEFINED) )
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index 447a50a61335..cff81af3b642 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -37,7 +37,7 @@ using namespace ::com::sun::star::uno;
// Declaration of a variable
// If there are errors it will be parsed up to the comma or the newline.
// Return-value: a new instance, which were inserted and then deleted.
-// Array-Indexex were returned as SbiDimList
+// Array-Index were returned as SbiDimList
SbiSymDef* SbiParser::VarDecl( SbiDimList** ppDim, bool bStatic, bool bConst )
{