Bug #4346 : fixing problem introduced for libreOffice