diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 13:09:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 18:35:45 +0200 |
commit | 2ac309188820036b1b99f983e8b793445e9b2ab2 (patch) | |
tree | 80db2a9f7f7726cb015f48f57e1cac8a77b01c58 /xmlsecurity | |
parent | 698e5d54182d96a1fd0c3b864ba0e618f82dd1f1 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/pdfsignaturehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<frame::XModel>& 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<std::pair<size_t, size_t>>& rByteRanges) { size_t nByteRangeOffset = 0; |