openbsd-ports/textproc/xpdf/patches/patch-xpdf_XPDFViewer_cc
ckuethe 3b5bcac916 Update to xpdf 3.0.2, from Stuart Henderson and Brad Smith
Includes some security fixes

ok pvalchev, todd
2007-03-30 04:09:42 +00:00

16 lines
526 B
Plaintext

$OpenBSD: patch-xpdf_XPDFViewer_cc,v 1.4 2007/03/30 04:09:42 ckuethe Exp $
--- xpdf/XPDFViewer.cc.orig Tue Feb 27 22:05:52 2007
+++ xpdf/XPDFViewer.cc Fri Mar 30 00:31:19 2007
@@ -3406,11 +3406,6 @@ void XPDFViewer::printPrintCbk(Widget widget, XtPointe
PSOutputDev *psOut;
doc = viewer->core->getDoc();
- if (!doc->okToPrint()) {
- error(-1, "Printing this document is not allowed.");
- return;
- }
-
viewer->core->setBusyCursor(gTrue);
XtVaGetValues(viewer->printWithCmdBtn, XmNset, &withCmd, NULL);