bug 59791: getCellType and getCachedFormulaResultType should return an integer for backwards compatibility