forked from amazingfate/loongoffice
guess this was the original intention, else the nullptr checks would be pointless Change-Id: Ifb41b125c6d297c76c1d1b5c06c8f9f127b8e613 Reviewed-on: https://gerrit.libreoffice.org/53644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>