xmlsecurity/source/helper/documentsignaturehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 84dfff475c1f25319bc22c7b6ad437d5501a7dc4 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> diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index 161f36e4ed66..fadf1a6309b2 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -410,7 +410,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