[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - xmlsecurity/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 09:03:26 UTC 2020


 xmlsecurity/source/pdfio/pdfdocument.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit dd673692d698abaaa350ace500a12ea959d5936c
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 20 17:47:49 2020 +0200
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 24 10:02:51 2020 +0100

    Avoid unused parameter warning in the !HAVE_FEATURE_PDFIUM case
    
    Change-Id: I218265f0bda7cdfcae523ea386edaec1a9143cef
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106283
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106458
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx
index 35c8c07ced70..8c8421f6aca2 100644
--- a/xmlsecurity/source/pdfio/pdfdocument.cxx
+++ b/xmlsecurity/source/pdfio/pdfdocument.cxx
@@ -252,6 +252,7 @@ bool IsValidSignature(SvStream& rStream, vcl::filter::PDFObjectElement* pSignatu
     return aSignedPages == aAllPages;
 #else
     (void)rStream;
+    (void)nMDPPerm;
     return true;
 #endif
 }


More information about the Libreoffice-commits mailing list