summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2022-10-17 23:01:34 +0100
committerMichael Meeks <michael.meeks@collabora.com>2022-10-18 01:05:59 +0200
commitda6a1a05b2b718a60d31858f19f3af8629d602a9 (patch)
treee488a1382255a2a0b51e7dd911ec24ec7cdcdf1a /basic
parentc0ce606701080bb93a8dff1d7e5df6006f19683a (diff)
basic: s/helt/held/ and some cleanup.
Change-Id: Idebd2eef29230056caa605c79028e46d34891c44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141485 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 8f3a56c17d7b..2766d9be6ab2 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -916,8 +916,8 @@ static void SendHint( SbxObject* pObj, SfxHintId nId, SbMethod* p )
SendHint_( pObj, nId, p );
}
-// #57841 Clear Uno-Objects, which were helt in RTL functions,
-// at the end of the program, so that nothing were helt.
+// #57841 Clear Uno-Objects, which were held in RTL functions,
+// at the end of the program, so that nothing is held
static void ClearUnoObjectsInRTL_Impl_Rek( StarBASIC* pBasic )
{
// delete the return value of CreateUnoService
@@ -1179,8 +1179,8 @@ void SbModule::Run( SbMethod* pMeth )
if( bDelInst )
{
- // #57841 Clear Uno-Objects, which were helt in RTL functions,
- // at the end of the program, so that nothing were helt.
+ // #57841 Clear Uno-Objects, which were held in RTL functions,
+ // at the end of the program, so that nothing is held.
ClearUnoObjectsInRTL_Impl( xBasic.get() );
clearNativeObjectWrapperVector();
@@ -1224,8 +1224,8 @@ void SbModule::Run( SbMethod* pMeth )
StarBASIC* pBasic = dynamic_cast<StarBASIC*>( GetParent() );
if( bDelInst )
{
- // #57841 Clear Uno-Objects, which were helt in RTL functions,
- // the end of the program, so that nothing were helt.
+ // #57841 Clear Uno-Objects, which were held in RTL functions,
+ // the end of the program, so that nothing is held.
ClearUnoObjectsInRTL_Impl( xBasic.get() );
delete pSbData->pInst;