fdo#37520: Don't cache the array size but query it dynamically.
fdo#37520: Don't cache the array size but query it dynamically.

The size of the array may change during the loop, so we need to always
query it dynamically via size() instead of caching it at the beginning
of the loop.

Signed-off-by: Markus Mohrhard <17b5858c03a410e5ca9ee070d93f5b34144a17e4@googlemail.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core