text: public void updateNamesAfterCellShift(FormulaShifter shifter) {for (int i = 0 ; i < getNumNames() ; ++i){NameRecord nr = getNameRecord(i);Ptg[] ptgs = nr.getNameDefinition();if (shifter.adjustFormula(ptgs, nr.getSheetNumber())) {nr.setNameDefinition(ptgs);}}}