Duplication of formula/token.hxx code

...now that ScToken has dissolved into FormulaToken

Change-Id: Idd28842125698fde62df7f70079f73105b918bc0