fdo#73466 SwTxtSizeInfo / SwTxtInputFldPortion: invalid string access

Change-Id: Ibd74e3b0cd45fa3bf6fd4135866b22acd16e372e