f78eac374a
Most of the update is from Bernd Ahlers <bernd at ba-net dot org>
18 lines
501 B
Plaintext
18 lines
501 B
Plaintext
$OpenBSD: patch-xpdf_pdftops_cc,v 1.3 2005/09/09 17:34:53 brad Exp $
|
|
--- xpdf/pdftops.cc.orig Wed Aug 17 07:34:31 2005
|
|
+++ xpdf/pdftops.cc Thu Aug 18 10:08:26 2005
|
|
@@ -269,13 +269,6 @@ int main(int argc, char *argv[]) {
|
|
goto err1;
|
|
}
|
|
|
|
- // check for print permission
|
|
- if (!doc->okToPrint()) {
|
|
- error(-1, "Printing this document is not allowed.");
|
|
- exitCode = 3;
|
|
- goto err1;
|
|
- }
|
|
-
|
|
// construct PostScript file name
|
|
if (argc == 3) {
|
|
psFileName = new GString(argv[2]);
|