utils/pdfunite.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit ae6be1946e4eefd0d4f798930f9dfbb6fe332959 Author: Albert Astals Cid <[email protected]> Date: Fri Jul 29 22:52:57 2022 +0200 Update (C) and fix format, somehow i landed this without waiting for CI results, bad bad Albert diff --git a/utils/pdfunite.cc b/utils/pdfunite.cc index 050927d3..064f7533 100644 --- a/utils/pdfunite.cc +++ b/utils/pdfunite.cc @@ -15,6 +15,7 @@ // Copyright (C) 2018 Adam Reichold <[email protected]> // Copyright (C) 2019 Marek Kasik <[email protected]> // Copyright (C) 2019 Oliver Sander <[email protected]> +// Copyright (C) 2022 crt <[email protected]> // //======================================================================== @@ -197,7 +198,7 @@ int main(int argc, char *argv[]) Object ocObj; if (docs.size() >= 1) { Object catObj = docs[0]->getXRef()->getCatalog(); - if(!catObj.isDict()){ + if (!catObj.isDict()) { fclose(f); delete yRef; delete countRef; @@ -303,7 +304,7 @@ int main(int argc, char *argv[]) } } Object pageCatObj = docs[i]->getXRef()->getCatalog(); - if(!pageCatObj.isDict()){ + if (!pageCatObj.isDict()) { fclose(f); delete yRef; delete countRef;
