Updated LibreOffice version determination