[poppler] utils/pdfunite.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 29 20:53:18 UTC 2022
utils/pdfunite.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit ae6be1946e4eefd0d4f798930f9dfbb6fe332959
Author: Albert Astals Cid <aacid at kde.org>
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 <adam.reichold at t-online.de>
// Copyright (C) 2019 Marek Kasik <mkasik at redhat.com>
// Copyright (C) 2019 Oliver Sander <oliver.sander at tu-dresden.de>
+// Copyright (C) 2022 crt <chluo at cse.cuhk.edu.hk>
//
//========================================================================
@@ -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;
More information about the poppler
mailing list