From 18f202011661397d10ca4c2fa28fcf57b62221b0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Aug 2021 18:31:05 +0200 Subject: loplugin:constparams Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/helper/pdfsignaturehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity/source/helper') diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx index 39d0ea1e12a7..24047a30cd1b 100644 --- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx +++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx @@ -123,7 +123,7 @@ struct Signature }; /// Turns an array of floats into offset + length pairs. -void GetByteRangesFromPDF(std::unique_ptr& pSignature, +void GetByteRangesFromPDF(const std::unique_ptr& pSignature, std::vector>& rByteRanges) { std::vector aByteRange = pSignature->getByteRange(); -- cgit