expand complex cascading conditional operator, step 5

Change-Id: Ia96f59911f20e4baf342a512a010c84e91b1f21d
Reviewed-on: https://gerrit.libreoffice.org/13012
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>