fdo#81004 this looks like a mis-merge to me

Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
(cherry picked from commit 8817e5e3a0d92a4febae955ced7a35c52cb08910)
Reviewed-on: https://gerrit.libreoffice.org/10170
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 90939f2b5dfc8a7aafc255322f0fcb66f670241e)
Reviewed-on: https://gerrit.libreoffice.org/10271
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>