text: public bool AdjustFormula(Ptg[] ptgs, int currentExternSheetIx){bool refsWereChanged = false;for (int i = 0; i < ptgs.Length; i++){Ptg newPtg = AdjustPtg(ptgs[i], currentExternSheetIx);if (newPtg != null){refsWereChanged = true;ptgs[i] = newPtg;}}return refsWereChanged;}