Use indexed getToken and improve tokenization

Desktop / LibreOffice - Matteo Casalin [yahoo.com] - 5 March 2019 21:31 EST

Third token (i.e. day) would span to the end of the string and conversion to int works just because it stops at first non-numeric character.

Change-Id: I4f608aafadd634c312f7cfd986966f453bfca872 Reviewed-on: https://gerrit.libreoffice.org/68121

e79377df4610 Use indexed getToken and improve tokenization
oox/source/ppt/comments.cxx | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share