rename SvRef::AddRef to AddFirstRef
to make it's intended purpose clearly distinguishable from AddNextRef Change-Id: I5da780b48b19fd873667b648031bc394113f953b Reviewed-on: https://gerrit.libreoffice.org/11763 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
4a0fc2fb02
commit
c625525ddc
@@ -2103,11 +2103,11 @@ ErrCode SbMethod::Call( SbxValue* pRet, SbxVariable* pCaller )
|
||||
}
|
||||
// RefCount vom Modul hochzaehlen
|
||||
SbModule* pMod_ = static_cast<SbModule*>(GetParent());
|
||||
pMod_->AddRef();
|
||||
pMod_->AddFirstRef();
|
||||
|
||||
// Increment the RefCount of the Basic
|
||||
StarBASIC* pBasic = static_cast<StarBASIC*>(pMod_->GetParent());
|
||||
pBasic->AddRef();
|
||||
pBasic->AddFirstRef();
|
||||
|
||||
// Establish the values to get the return value
|
||||
SbxValues aVals;
|
||||
|
Reference in New Issue
Block a user