It doesn't make much sense to keep around one ScTokenArray, pass it around, use a copy of it and then Clear() the original. Change-Id: I8636b32dc9b547b4b649c8d811c8425530896100 Reviewed-on: https://gerrit.libreoffice.org/60863 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>