[Bug 1121589] GCC 9: libreoffice build fails