fdo#75228: We still need to get the value only to pop value from the stack.

Change-Id: Iad231aa97ed35f91b96cddf8157ebcd9af0f8ec9
(cherry picked from commit 9e183fbfdbfbe364d17f9d36a0b33d2fae89862d)
Reviewed-on: https://gerrit.libreoffice.org/8142
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>