tdf#84881: Move some variables one block level out
tdf#84881: Move some variables one block level out

It it scary to keep pointers to stack variables that have gone out of scope in
a data structure that is in an outer block and used there later.

Change-Id: Iced8b809d50089a4e6f9867be9b8501cce59d16f

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