[Libreoffice-commits] core.git: xmlsecurity/source
Tor Lillqvist
tml at collabora.com
Thu Nov 3 08:39:50 UTC 2016
xmlsecurity/source/helper/xmlsignaturehelper.cxx | 12 ------------
1 file changed, 12 deletions(-)
New commits:
commit a90bf85ae6bf2ef3b9d79bfe8e76ce052b17ce35
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Nov 3 10:35:54 2016 +0200
Bin pointless differentiated exception handling
All the catch blocks for classes derivved from uno::Exception
contained the same single statement as the catch block for
uno::Exception itself.
Change-Id: Ic33b432416abfda7557862d25237dc7221585327
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
index a944f6f..08ac25f 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
@@ -297,18 +297,6 @@ bool XMLSignatureHelper::ReadAndVerifySignature( const css::uno::Reference< css:
{
xParser->parseStream( aParserInput );
}
- catch( xml::sax::SAXParseException& )
- {
- mbError = true;
- }
- catch( xml::sax::SAXException& )
- {
- mbError = true;
- }
- catch( css::io::IOException& )
- {
- mbError = true;
- }
catch( uno::Exception& )
{
mbError = true;
More information about the Libreoffice-commits
mailing list