diff -uNr xpdf-3.00-old/xpdf/XRef.cc xpdf-3.00/xpdf/XRef.cc --- xpdf-3.00-old/xpdf/XRef.cc 2004-01-22 02:26:45.000000000 +0100 +++ xpdf-3.00/xpdf/XRef.cc 2004-09-01 16:11:32.410396128 +0200 @@ -822,7 +822,7 @@ GBool XRef::okToPrint(GBool ignoreOwnerPW) { #ifndef NO_DECRYPTION - return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permPrint); + return gTrue; #else return gTrue; #endif @@ -830,7 +830,7 @@ GBool XRef::okToChange(GBool ignoreOwnerPW) { #ifndef NO_DECRYPTION - return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permChange); + return gTrue; #else return gTrue; #endif @@ -838,7 +838,7 @@ GBool XRef::okToCopy(GBool ignoreOwnerPW) { #ifndef NO_DECRYPTION - return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permCopy); + return gTrue; #else return gTrue; #endif @@ -846,7 +846,7 @@ GBool XRef::okToAddNotes(GBool ignoreOwnerPW) { #ifndef NO_DECRYPTION - return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permNotes); + return gTrue; #else return gTrue; #endif