Unlike with ZIP-based storage, it can happen that the removal fails, so make sure we only remove the signature from the listbox when PDFDocument::RemoveSignature() succeeds.
Change-Id: I3241fc11425686bc1ea5452b8f602e053aec0769 Reviewed-on: https://gerrit.libreoffice.org/30224
51593c4 xmlsecurity: implement PDF signature removal UI
xmlsecurity/inc/pdfsignaturehelper.hxx | 2 ++
.../source/helper/documentsignaturemanager.cxx | 15 +++++++++
xmlsecurity/source/helper/pdfsignaturehelper.cxx | 35 ++++++++++++++++++++
3 files changed, 52 insertions(+)
Upstream: cgit.freedesktop.org