3b5bcac916
Includes some security fixes ok pvalchev, todd
16 lines
526 B
Plaintext
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);
|