coverity#1405158 wrong sizeof argument [Caolán McNamara] ofz#1193 we only set these values, never read them [Caolán McNamara] ofz#1220 sanitize nTyp to legal values [Caolán McNamara] tdf#92650 handle overwritten references correctly in undo. [Kohei Yoshida] tdf#99625 add parameter classification for TEXTJOIN and CONCAT [Eike Rathke]