coverity#1242754 Unused value

Change-Id: I5e3d39b8f87e1496550c616928eab9166f624387
Reviewed-on: https://gerrit.libreoffice.org/12364
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>