774e18ab50
-- From: cloder@
18 lines
535 B
Plaintext
18 lines
535 B
Plaintext
$OpenBSD: patch-xpdf_pdftotext_cc,v 1.1 2003/10/24 19:31:57 brad Exp $
|
|
--- xpdf/pdftotext.cc.orig 2003-10-23 22:54:11.000000000 -0700
|
|
+++ xpdf/pdftotext.cc 2003-10-23 22:54:26.000000000 -0700
|
|
@@ -154,13 +154,6 @@ int main(int argc, char *argv[]) {
|
|
goto err2;
|
|
}
|
|
|
|
- // check for copy permission
|
|
- if (!doc->okToCopy()) {
|
|
- error(-1, "Copying of text from this document is not allowed.");
|
|
- exitCode = 3;
|
|
- goto err2;
|
|
- }
|
|
-
|
|
// construct text file name
|
|
if (argc == 3) {
|
|
textFileName = new GString(argv[2]);
|