Fixed LibreOffice duplicate declare error