Remove dead code

Change-Id: Ieac5dec327f5203221e31c50d679ef3ffa1ce8e4
Reviewed-on: https://gerrit.libreoffice.org/12479
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>