FL-1640: Refork and update LibreOffice