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:
Noel Grandin
2014-10-02 14:37:06 +02:00
committed by Noel Grandin
parent 4a0fc2fb02
commit c625525ddc
31 changed files with 55 additions and 55 deletions

View File

@@ -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;