fdo#62088: Fix crash on master page switch too.
fdo#62088: Fix crash on master page switch too.

This is actually a regression caused by
1165aac95b8e44f41fc16a44bfec4c1c05801ac8, where a confusing code was removed,
that should have stayed there.

Re-introduced in a readable way.

Change-Id: Ib99c19c04cf3b098097cef8da5da63b8cc7dd130

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