summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2024-06-29 15:56:05 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2024-06-29 17:22:12 +0200
commit102cbf4626dc80191a21af53c65f4817a0baef9b (patch)
treef89cf284607162f3158fda400d44b026f5f40a90 /basic
parent36d898b3bc635e996cad074fc81341d43a650a3f (diff)
Fix "lets" -> "let's"
Change-Id: I01968fc18b093dbbc27213f01c3da38ae151c62c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169748 Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net> Tested-by: Jenkins
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbunoobj.cxx5
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx4
3 files changed, 6 insertions, 5 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 419b2bb31a84..463d11b95fbf 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -1697,8 +1697,9 @@ bool checkUnoObjectType(SbUnoObject& rUnoObj, const OUString& rClass)
OUString aInterfaceName = xClass->getName();
if ( aInterfaceName == "com.sun.star.bridge.oleautomation.XAutomationObject" )
{
- // there is a hack in the extensions/source/ole/oleobj.cxx to return the typename of the automation object, lets check if it
- // matches
+ // there is a hack in the extensions/source/ole/oleobj.cxx
+ // to return the typename of the automation object, let's
+ // check if it matches
Reference< XInvocation > xInv( aToInspectObj, UNO_QUERY );
if ( xInv.is() )
{
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index f3551bc1b425..95d751bb0202 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1744,7 +1744,7 @@ bool SbModule::HasExeCode()
{
// And empty Image always has the Global Chain set up
static const unsigned char pEmptyImage[] = { 0x45, 0x0 , 0x0, 0x0, 0x0 };
- // lets be stricter for the moment than VBA
+ // let's be stricter for the moment than VBA
if (!IsCompiled())
{
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 90b40cb8adc8..b692c66de698 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1641,7 +1641,7 @@ static bool checkUnoStructCopy( bool bVBA, SbxVariableRef const & refVal, SbxVar
// There are some circumstances when calling GetObject
// will trigger an error, we need to squash those here.
// Alternatively it is possible that the same scenario
- // could overwrite and existing error. Lets prevent that
+ // could overwrite and existing error. Let's prevent that
SbxObjectRef xVarObj = static_cast<SbxObject*>(refVar->GetObject());
if ( eOldErr != ERRCODE_NONE )
SbxBase::SetError( eOldErr );
@@ -3698,7 +3698,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt
}
// consider index-access for UnoObjects
// definitely we want this for VBA where properties are often
- // collections ( which need index access ), but lets only do
+ // collections ( which need index access ), but let's only do
// this if we actually have params following
else if( bVBAEnabled && dynamic_cast<const SbUnoProperty*>( pElem) != nullptr && pElem->GetParameters() )
{