2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-02 10:20:52 +00:00

Tidy parameter in QPDF::copyForeignObject

This commit is contained in:
m-holger 2023-05-22 10:53:18 +01:00
parent ac62f4683c
commit ea0fa9195f
2 changed files with 3 additions and 4 deletions

View File

@ -362,8 +362,7 @@ class QPDF
QPDFObjectHandle getObject(QPDFObjGen const&);
QPDF_DLL
QPDFObjectHandle getObject(int objid, int generation);
// These are older methods, but there is no intention to deprecate
// them.
// These are older methods, but there is no intention to deprecate them.
QPDF_DLL
QPDFObjectHandle getObjectByObjGen(QPDFObjGen const&);
QPDF_DLL
@ -427,7 +426,7 @@ class QPDF
// will not be recopied. Therefore, you should do all mutation on the original file that you
// are going to do before you start copying its objects to a new file.
QPDF_DLL
QPDFObjectHandle copyForeignObject(QPDFObjectHandle foreign);
QPDFObjectHandle copyForeignObject(QPDFObjectHandle const& foreign);
// Encryption support

View File

@ -1914,7 +1914,7 @@ QPDF::replaceReserved(QPDFObjectHandle reserved, QPDFObjectHandle replacement)
}
QPDFObjectHandle
QPDF::copyForeignObject(QPDFObjectHandle foreign)
QPDF::copyForeignObject(QPDFObjectHandle const& foreign)
{
// Here's an explanation of what's going on here.
//