From 945a119675788f7c8f0a133ac0271f9340c1653a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Jan 2018 12:22:26 +0200 Subject: loplugin:constparams Change-Id: I7c695073d9a9d3b7a641d6eb9fe01a47d8c3a504 Reviewed-on: https://gerrit.libreoffice.org/48392 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sdext/source/pdfimport/pdfparse/pdfentries.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext') diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index d9828d355afa..a55c45e7a093 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1107,7 +1107,7 @@ static void pad_or_truncate_to_32( const OString& rStr, sal_Char* pBuffer ) } // pass at least pData->m_nKeyLength bytes in -static sal_uInt32 password_to_key( const OString& rPwd, sal_uInt8* pOutKey, PDFFileImplData* pData, bool bComputeO ) +static sal_uInt32 password_to_key( const OString& rPwd, sal_uInt8* pOutKey, PDFFileImplData const * pData, bool bComputeO ) { // see PDF reference 1.4 Algorithm 3.2 // encrypt pad string -- cgit