diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |