Here is the patch for this problem:
https://gerrit.libreoffice.org/8800