xmlsecurity/source/helper/xmlsignaturehelper.cxx |   26 ++++++-----------------
 1 file changed, 7 insertions(+), 19 deletions(-)

New commits:
commit a113aff7add62da5f2f8ffe0be453af4b1b79866
Author:     Tomaž Vajngerl <[email protected]>
AuthorDate: Thu Oct 18 10:29:45 2018 +0200
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Mon Oct 29 08:58:54 2018 +0100

    xmlsignaturehelper: fix comments, no change
    
    Change-Id: Ibfdf92712264ad37aafed53db0fe8e8c4fea4699
    Reviewed-on: https://gerrit.libreoffice.org/61913
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <[email protected]>

diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx 
b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
index 0e7a77640a68..db80016f84e0 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
@@ -257,32 +257,22 @@ bool XMLSignatureHelper::ReadAndVerifySignature( const 
css::uno::Reference< css:
 
     SAL_WARN_IF(!xInputStream.is(), "xmlsecurity.helper", "input stream 
missing");
 
-    /*
-     * prepare ParserInputSrouce
-     */
+    // prepare ParserInputSrouce
     xml::sax::InputSource aParserInput;
     aParserInput.aInputStream = xInputStream;
 
-    /*
-     * get SAX parser component
-     */
+    // get SAX parser component
     uno::Reference< xml::sax::XParser > xParser = 
xml::sax::Parser::create(mxCtx);
 
-    /*
-     * create a signature reader
-     */
+    // create a signature reader
     uno::Reference< xml::sax::XDocumentHandler > xHandler
         = mpXSecController->createSignatureReader(*this);
 
-    /*
-     * setup the connection:
-     * Parser -> SignatureReader
-     */
+    // setup the connection:
+    // Parser -> SignatureReader
     xParser->setDocumentHandler( xHandler );
 
-    /*
-     * parser the stream
-     */
+    // parser the stream
     try
     {
         xParser->parseStream( aParserInput );
@@ -292,9 +282,7 @@ bool XMLSignatureHelper::ReadAndVerifySignature( const 
css::uno::Reference< css:
         mbError = true;
     }
 
-    /*
-     * release the signature reader
-     */
+    // release the signature reader
     mpXSecController->releaseSignatureReader( );
 
     return !mbError;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to