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>
This commit is contained in:
@@ -916,8 +916,8 @@ static void SendHint( SbxObject* pObj, SfxHintId nId, SbMethod* p )
|
|||||||
SendHint_( pObj, nId, p );
|
SendHint_( pObj, nId, p );
|
||||||
}
|
}
|
||||||
|
|
||||||
// #57841 Clear Uno-Objects, which were helt in RTL functions,
|
// #57841 Clear Uno-Objects, which were held in RTL functions,
|
||||||
// at the end of the program, so that nothing were helt.
|
// at the end of the program, so that nothing is held
|
||||||
static void ClearUnoObjectsInRTL_Impl_Rek( StarBASIC* pBasic )
|
static void ClearUnoObjectsInRTL_Impl_Rek( StarBASIC* pBasic )
|
||||||
{
|
{
|
||||||
// delete the return value of CreateUnoService
|
// delete the return value of CreateUnoService
|
||||||
@@ -1179,8 +1179,8 @@ void SbModule::Run( SbMethod* pMeth )
|
|||||||
|
|
||||||
if( bDelInst )
|
if( bDelInst )
|
||||||
{
|
{
|
||||||
// #57841 Clear Uno-Objects, which were helt in RTL functions,
|
// #57841 Clear Uno-Objects, which were held in RTL functions,
|
||||||
// at the end of the program, so that nothing were helt.
|
// at the end of the program, so that nothing is held.
|
||||||
ClearUnoObjectsInRTL_Impl( xBasic.get() );
|
ClearUnoObjectsInRTL_Impl( xBasic.get() );
|
||||||
|
|
||||||
clearNativeObjectWrapperVector();
|
clearNativeObjectWrapperVector();
|
||||||
@@ -1224,8 +1224,8 @@ void SbModule::Run( SbMethod* pMeth )
|
|||||||
StarBASIC* pBasic = dynamic_cast<StarBASIC*>( GetParent() );
|
StarBASIC* pBasic = dynamic_cast<StarBASIC*>( GetParent() );
|
||||||
if( bDelInst )
|
if( bDelInst )
|
||||||
{
|
{
|
||||||
// #57841 Clear Uno-Objects, which were helt in RTL functions,
|
// #57841 Clear Uno-Objects, which were held in RTL functions,
|
||||||
// the end of the program, so that nothing were helt.
|
// the end of the program, so that nothing is held.
|
||||||
ClearUnoObjectsInRTL_Impl( xBasic.get() );
|
ClearUnoObjectsInRTL_Impl( xBasic.get() );
|
||||||
|
|
||||||
delete pSbData->pInst;
|
delete pSbData->pInst;
|
||||||
|
Reference in New Issue
Block a user