expand complex cascading conditional operator

Change-Id: I8e489db0dbbd1bb420a3fa477232a86d2cd10b62
Reviewed-on: https://gerrit.libreoffice.org/13007
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
expand complex cascading conditional operator, step 1

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