fix use with latest libreoffice and docsplit
fix use with latest libreoffice and docsplit