adopt to libreoffice changes