summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-02 10:52:20 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-02 08:54:51 +0000
commit2957be02c5c4847046b9d192c7a76717c8849559 (patch)
treec46be85eb3a51dbbce048227282ca748ddf77676 /basic
parent34ab9e2e1790f053910a71cf7b8a7e2f054ddd34 (diff)
Fix typos
Change-Id: I776c517ba87838c0c3391f79010a30fa7fe2abd3 Reviewed-on: https://gerrit.libreoffice.org/18939 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/comp/exprnode.cxx2
-rw-r--r--basic/source/inc/opcodes.hxx2
-rw-r--r--basic/source/runtime/methods1.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx6
-rw-r--r--basic/source/sbx/sbxvar.cxx24
5 files changed, 18 insertions, 18 deletions
diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx
index cb1f429c384c..2b65fd1c6fd0 100644
--- a/basic/source/comp/exprnode.cxx
+++ b/basic/source/comp/exprnode.cxx
@@ -202,7 +202,7 @@ short SbiExprNode::GetDepth()
// Adjustment of a tree:
// 1. Constant Folding
// 2. Type-Adjustment
-// 3. Conversion of the operans into Strings
+// 3. Conversion of the operands into Strings
// 4. Lifting of the composite- and error-bits
void SbiExprNode::Optimize(SbiParser* pParser)
diff --git a/basic/source/inc/opcodes.hxx b/basic/source/inc/opcodes.hxx
index 669933117ecb..3091eb23259f 100644
--- a/basic/source/inc/opcodes.hxx
+++ b/basic/source/inc/opcodes.hxx
@@ -112,7 +112,7 @@ enum SbiOpcode {
// Verwaltung
_SETCLASS, // test set + class names (+StringId)
_TESTCLASS, // Check TOS class (+StringId)
- _LIB, // set lib name for declar-procs (+StringId)
+ _LIB, // set lib name for declare-procs (+StringId)
_BASED, // TOS is incremented by BASE, BASE is pushed before (+base)
// type adjustment in the Argv
_ARGTYP, // convert last parameter in Argv (+type)
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 1203003b1f95..c9367a939661 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -671,7 +671,7 @@ RTLFUNC(DoEvents)
(void)pBasic;
(void)bWrite;
(void)rPar;
-// don't undstand what upstream are up to
+// don't understand what upstream are up to
// we already process application events etc. in between
// basic runtime pcode ( on a timed basis )
// always return 0
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 080aac6a8c24..288d858eb2ce 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -918,7 +918,7 @@ void SbiRuntime::Error( SbError _errCode, const OUString& _details )
if ( pInst->pRun == this )
{
pInst->Error( _errCode, _details );
- //OSL_WARN_IF( nError != _errCode, "basic", "SbiRuntime::Error: the instance is expecte to propagate the error code back to me!" );
+ //OSL_WARN_IF( nError != _errCode, "basic", "SbiRuntime::Error: the instance is expected to propagate the error code back to me!" );
}
else
{
@@ -1826,7 +1826,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b
// if they are SbxEMPTY I guess
if ( !bHandleDefaultProp || eValType == SbxOBJECT )
{
- // activate GetOject for collections on refVal
+ // activate GetObject for collections on refVal
SbxBase* pObjVarObj = refVal->GetObject();
if( pObjVarObj )
{
@@ -3432,7 +3432,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt
bool bSetName = true; // preserve normal behaviour
// i#i68894# if VBAInterOp favour searching vba globals
- // over searching for uno classess
+ // over searching for uno classes
if ( bVBAEnabled )
{
// Try Find in VBA symbols space
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index e551af2179c9..2e353261b5c7 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -34,11 +34,11 @@
#include <com/sun/star/uno/XInterface.hpp>
using namespace com::sun::star::uno;
-///////////////////////////// SbxVariable
+// SbxVariable
TYPEINIT1(SbxVariable,SbxValue)
-///////////////////////////// SbxVariableImpl
+// SbxVariableImpl
class SbxVariableImpl
{
@@ -59,7 +59,7 @@ class SbxVariableImpl
};
-///////////////////////////// Constructors
+// Constructors
SbxVariable::SbxVariable() : SbxValue()
{
@@ -124,7 +124,7 @@ SbxVariable::~SbxVariable()
delete pCst;
}
-////////////////////////////// Broadcasting
+// Broadcasting
SfxBroadcaster& SbxVariable::GetBroadcaster()
{
@@ -142,7 +142,7 @@ SbxArray* SbxVariable::GetParameters() const
// Perhaps some day one could cut the parameter 0.
-// then the copying will be dropped ...
+// Then the copying will be dropped...
void SbxVariable::Broadcast( sal_uInt32 nHintId )
{
@@ -210,7 +210,7 @@ void SbxVariable::SetParameters( SbxArray* p )
}
-/////////////////////////// Name of the variables
+// Name of the variables
void SbxVariable::SetName( const OUString& rName )
{
@@ -335,7 +335,7 @@ sal_uInt16 SbxVariable::MakeHashCode( const OUString& rName )
for( sal_Int32 i=0; i<nLen; ++i )
{
sal_uInt8 c = static_cast<sal_uInt8>(rName[i]);
- // If we have a commen sigen break!!
+ // If we have a comment sign break!!
if( c >= 0x80 )
{
return 0;
@@ -345,7 +345,7 @@ sal_uInt16 SbxVariable::MakeHashCode( const OUString& rName )
return n;
}
-////////////////////////////// Operators
+// Operators
SbxVariable& SbxVariable::operator=( const SbxVariable& r )
{
@@ -368,7 +368,7 @@ SbxVariable& SbxVariable::operator=( const SbxVariable& r )
return *this;
}
-//////////////////////////////// Conversion
+// Conversion
SbxDataType SbxVariable::GetType() const
{
@@ -469,7 +469,7 @@ void SbxVariable::ClearComListener()
}
-////////////////////////////// Loading/Saving
+// Loading/Saving
bool SbxVariable::LoadData( SvStream& rStrm, sal_uInt16 nVer )
{
@@ -637,7 +637,7 @@ bool SbxVariable::StoreData( SvStream& rStrm ) const
}
}
-////////////////////////////// SbxInfo
+// SbxInfo
SbxInfo::SbxInfo()
: aHelpFile(), nHelpId(0)
@@ -647,7 +647,7 @@ SbxInfo::SbxInfo( const OUString& r, sal_uInt32 n )
: aHelpFile( r ), nHelpId( n )
{}
-////////////////////////////// SbxAlias
+// SbxAlias
SbxAlias::SbxAlias( const SbxAlias& r )
: SvRefBase( r ), SbxVariable( r ),