summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:20:59 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:23:17 +0000
commitffa8892c5a929ac121fc7b1020d8f6b5b3cf45be (patch)
tree4633fab92c7f808a932025491e97c5b62509b7f9 /basic
parent3dfdd18707019c49723ad98e74f5202a3ae436f7 (diff)
Fix typos
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
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/inc/runtime.hxx2
-rw-r--r--basic/source/runtime/iosys.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx2
-rw-r--r--basic/source/uno/namecont.cxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index a740ee5c09b9..05446253fc60 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1100,7 +1100,7 @@ bool BasicManager::ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) con
}
rOldBasic = pNew;
- // Fill new libray container (5.2 -> 6.0)
+ // Fill new library container (5.2 -> 6.0)
copyToLibraryContainer( pNew, mpImpl->maContainerInfo );
pNew->SetModified( false );
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index f89c0884a945..82b154b976e1 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1319,7 +1319,7 @@ void StarBASIC::DeInitAllModules()
}
// This implementation at first searches within the runtime library,
-// then it looks for an element within one module. This moudle can be
+// then it looks for an element within one module. This module can be
// a public var or an entrypoint. If it is not found and we look for a
// method and a module with the given name is found the search continues
// for entrypoint "Main".
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 2475e28624d4..7c2b2b3a72d2 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2341,7 +2341,7 @@ SbUnoObject::SbUnoObject( const OUString& aName_, const Any& aUnoObj_ )
Remove( OUString("Name"), SbxCLASS_DONTCARE );
Remove( OUString("Parent"), SbxCLASS_DONTCARE );
- // check the type of the ojekts
+ // check the type of the objects
TypeClass eType = aUnoObj_.getValueType().getTypeClass();
Reference< XInterface > x;
if( eType == TypeClass_INTERFACE )
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index f2bcba9c72c3..0ab61835276f 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -256,7 +256,7 @@ class SbiRuntime
const sal_uInt8* pError; // address of the current error handler
const sal_uInt8* pRestart; // restart-address
const sal_uInt8* pErrCode; // restart-adresse RESUME NEXT
- const sal_uInt8* pErrStmnt; // Restart-Adresse RESUMT 0
+ const sal_uInt8* pErrStmnt; // Restart-Adresse RESUME 0
OUString aLibName; // Lib-name for declare-call
SbxArrayRef refParams; // current procedure parameters
SbxArrayRef refLocals; // local variable
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index 09c97638c44d..396d95b449b6 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -735,7 +735,7 @@ SbError SbiStream::Write( const OString& rBuf, sal_uInt16 n )
{
aLine = aLine + rBuf;
// Get it out, if the end is an LF, but strip CRLF before,
- // because the SvStrm adds a CRLF!
+ // because the SvStream adds a CRLF!
sal_Int32 nLineLen = aLine.getLength();
if (nLineLen && aLine[--nLineLen] == 0x0A)
{
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index e71fe1352ada..ad53e4cad6b7 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -2842,7 +2842,7 @@ void SbiRuntime::StepLOADI( sal_uInt32 nOp1 )
PushVar( p );
}
-// stora a named argument in Argv (+Arg-no. from 1!)
+// store a named argument in Argv (+Arg-no. from 1!)
void SbiRuntime::StepARGN( sal_uInt32 nOp1 )
{
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 73ca0e5bb32d..e387dc4d88f4 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2038,7 +2038,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
{
// for this, we first remove everything from the source storage, then copy the complete content
// from the temporary target storage. From then on, what used to be the "source storage" becomes
- // the "targt storage" for all subsequent operations.
+ // the "target storage" for all subsequent operations.
// (We cannot simply remove the storage, denoted by maLibrariesDir, from i_rStorage - there might be
// open references to it.)