expand complex cascading conditional operator

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

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