[Libreoffice-commits] core.git: xmlsecurity/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Oct 21 06:13:43 UTC 2016


 xmlsecurity/source/pdfio/pdfdocument.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 81bbede18f825bc5929d4d446144841ee782e679
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Oct 21 08:13:05 2016 +0200

    cid#1374093 unreachable code
    
    Change-Id: Ib34aa7af7bdba304fe1f212d39c3c6de24e87a2d

diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx
index 57361f9..d36c9aa 100644
--- a/xmlsecurity/source/pdfio/pdfdocument.cxx
+++ b/xmlsecurity/source/pdfio/pdfdocument.cxx
@@ -1262,13 +1262,13 @@ bool PDFDocument::ValidateSignature(SvStream& rStream, PDFObjectElement* pSignat
     NSS_CMSSignerInfo_Destroy(pCMSSignerInfo);
 
     return true;
-#endif
-
+#else
     // Not implemented.
     (void)rStream;
     (void)rInformation;
 
     return false;
+#endif
 }
 
 bool PDFCommentElement::Read(SvStream& rStream)


More information about the Libreoffice-commits mailing list