From 2ac309188820036b1b99f983e8b793445e9b2ab2 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 13:09:02 +0200 Subject: loplugin:const* make some params and methods const Change-Id: Idec482c21c270912f9bcaeb980077c1616f67c8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104022 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/helper/pdfsignaturehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx index f9bb5342c626..3942163e970c 100644 --- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx +++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx @@ -117,7 +117,7 @@ void GetSignatureLineShape(const uno::Reference& xModel, sal_Int3 } /// Turns an array of floats into offset + length pairs. -bool GetByteRangesFromPDF(vcl::filter::PDFArrayElement& rArray, +bool GetByteRangesFromPDF(const vcl::filter::PDFArrayElement& rArray, std::vector>& rByteRanges) { size_t nByteRangeOffset = 0; -- cgit