summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorFabio D'Urso <fabiodurso@hotmail.it>2012-08-01 16:14:22 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-09-06 22:06:47 +0200
commit9e43f9a8bcbee9060309b9679dbcc6b501a79cfb (patch)
tree2c581d06eb402dd8fa109c5e22a260e3b351c091 /utils
parent4d19a002801531b07f11382daaf9880e4691a10e (diff)
Separated header and footer write commands from the rest of PDFDoc::writeObject
Because in next patch I'll need to pass the object's num and gen always, not only if the object's header and footer need to be written.
Diffstat (limited to 'utils')
-rw-r--r--utils/pdfunite.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdfunite.cc b/utils/pdfunite.cc
index 212f89be..cd71ddc3 100644
--- a/utils/pdfunite.cc
+++ b/utils/pdfunite.cc
@@ -154,7 +154,7 @@ int main (int argc, char *argv[])
outStr->printf("/Parent %d 0 R", rootNum + 1);
} else {
outStr->printf("/%s ", key);
- PDFDoc::writeObject(&value, NULL, outStr, yRef, offsets[i]);
+ PDFDoc::writeObject(&value, outStr, yRef, offsets[i]);
}
value.free();
}