]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-sj2-java.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-sj2-java.patch
1 --- oo_1.0.1_src/sj2/stardiv/applet/DocumentProxy.java.old      Mon Sep 18 18:54:03 2000
2 +++ oo_1.0.1_src/sj2/stardiv/applet/DocumentProxy.java  Fri Nov  1 21:34:29 2002
3 @@ -2,9 +2,9 @@
4   *
5   *  $RCSfile$
6   *
7 - *  $Revision$
8 + *  $Revision$
9   *
10 - *  last change: $Author$ $Date$
11 + *  last change: $Author$ $Date$
12   *
13   *  The Contents of this file are made available subject to the terms of
14   *  either of the following licenses
15 @@ -73,6 +73,8 @@
16  import java.util.Hashtable;
17  import java.util.Observer;
18  import java.util.Observable;
19 +import java.util.Iterator;
20 +import java.io.InputStream;
21  
22  import java.net.URL;
23  
24 @@ -96,6 +98,22 @@
25          return documentProxy;
26      }
27  
28 +       // AppletContext. This method is new since 1.4. We insert it so as to
29 +       // have the project buildable
30 +       public void setStream( String key,InputStream stream)
31 +               throws java.io.IOException {
32 +       }
33 +       // AppletContext. This method is new since 1.4. We insert it so as to
34 +       // have the project buildable
35 +       public InputStream getStream( String key) {
36 +               return null;
37 +       }
38 +       // AppletContext. This method is new since 1.4. We insert it so as to
39 +       // have the project buildable
40 +       public Iterator getStreamKeys() {
41 +               return null;
42 +       }
43 +               
44  
45      /*
46      ** interface cachable methods
47 --- oo_1.0.1_src/sj2/stardiv/applet/AppletViewer.java.old       Mon Sep 18 18:54:03 2000
48 +++ oo_1.0.1_src/sj2/stardiv/app/AppletViewer.java      Fri Nov  1 21:46:41 2002
49 @@ -2,9 +2,9 @@
50   *
51   *  $RCSfile$
52   *
53 - *  $Revision$
54 + *  $Revision$
55   *
56 - *  last change: $Author$ $Date$
57 + *  last change: $Author$ $Date$
58   *
59   *  The Contents of this file are made available subject to the terms of
60   *  either of the following licenses
61 @@ -196,7 +196,8 @@
62      public AppletViewer(int x, int y, URL doc, Hashtable atts, PrintStream statusMsgStream) {
63  //             resourceViewer = new stardiv.util.ResourceViewer();
64  //             resourceViewer.show();
65 -               System.err.println("#*#*#*:" + sun.awt.ScreenUpdater.updater);
66 +               //sun.awt.ScreenUpdater does not exist in Java 1.4
67 +//             System.err.println("#*#*#*:" + sun.awt.ScreenUpdater.updater);
68                 this.statusMsgStream = statusMsgStream;
69                 this.atts = atts;
70  
This page took 0.08496 seconds and 3 git commands to generate.