xmlsecurity/source/helper/documentsignaturehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bd9fef1f6111577415e0716d680d6e714e0b5750 Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Date: Tue Jun 27 16:37:06 2017 +0200 tdf#108798 Make CanSignWithGPG work with PDF docs Change-Id: I09aa030bed3d6ce51ef71d8bab905b01fab5b699 Reviewed-on: https://gerrit.libreoffice.org/39309 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> (cherry picked from commit 84dfff475c1f25319bc22c7b6ad437d5501a7dc4) Reviewed-on: https://gerrit.libreoffice.org/39349 Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index a8b355116ff3..9a2537ee828d 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -415,7 +415,7 @@ bool DocumentSignatureHelper::CanSignWithGPG( { uno::Reference<container::XNameAccess> xNameAccess(rxStore, uno::UNO_QUERY); if (!xNameAccess.is()) - throw RuntimeException(); + return false; if (xNameAccess->hasByName("META-INF")) // ODF { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits