vhardy 01/09/18 03:52:24
Modified: sources/org/apache/batik/apps/svgbrowser
JSVGViewerFrame.java
Log:
Ooops, commited bad code, sorry. Reverted to previous version.
Revision Changes Path
1.50 +3 -4
xml-batik/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java
Index: JSVGViewerFrame.java
===================================================================
RCS file:
/home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- JSVGViewerFrame.java 2001/09/18 10:47:57 1.49
+++ JSVGViewerFrame.java 2001/09/18 10:52:24 1.50
@@ -138,7 +138,7 @@
* This class represents a SVG viewer swing frame.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a>
- * @version $Id: JSVGViewerFrame.java,v 1.49 2001/09/18 10:47:57 vhardy Exp $
+ * @version $Id: JSVGViewerFrame.java,v 1.50 2001/09/18 10:52:24 vhardy Exp $
*/
public class JSVGViewerFrame
extends JFrame
@@ -812,8 +812,7 @@
public PrintAction() {}
public void actionPerformed(ActionEvent e) {
if (svgDocument != null) {
- // final SVGDocument doc = svgDocument;
- final String docURI = svgCanvas.getURI();
+ final SVGDocument doc = svgDocument;
new Thread() {
public void run(){
//
@@ -838,7 +837,7 @@
//
// Do transcoding now
//
- pt.transcode(new TranscoderInput(docURI), null);
+ pt.transcode(new TranscoderInput(doc), null);
//
// Print
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]