fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / jfreereport / patches / libbase-1.1.6-deprecated.patch
blobe5cd38bd8a14546a6658ee041e2beaf29fd9895b
1 --- misc/libbase-1.1.6/source/org/pentaho/reporting/libraries/base/boot/ModuleInitializeException.java 2010-04-27 15:58:44.000000000 +0200
2 +++ misc/build/libbase-1.1.6/source/org/pentaho/reporting/libraries/base/boot/ModuleInitializeException.java 2011-06-13 01:28:14.000000000 +0200
3 @@ -48,7 +48,7 @@
4 */
5 public ModuleInitializeException(final String s, final Exception e)
7 - super(s, e);
8 + super(s, (Throwable) e);
11 /**
12 --- misc/libbase-1.1.6/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java 2010-04-27 15:58:46.000000000 +0200
13 +++ misc/build/libbase-1.1.6/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java 2014-07-22 17:53:13.000000000 +0200
14 @@ -173,7 +173,7 @@
15 final File file = directoryOrJar.getAbsoluteFile();
16 if (file.isDirectory() && file.exists() && file.canRead())
18 - allURLs.add(file.toURL());
19 + allURLs.add(file.toURI().toURL());
20 directoryURLs.add(file);
21 continue;
23 @@ -186,8 +186,8 @@
24 final String fileName = file.getName();
25 if (fileName.endsWith(".jar") || fileName.endsWith(".zip"))
27 - allURLs.add(file.toURL());
28 - jarURLs.add(file.toURL());
29 + allURLs.add(file.toURI().toURL());
30 + jarURLs.add(file.toURI().toURL());
34 @@ -199,7 +199,7 @@
35 final File file = driverFiles[i];
36 if (file.isDirectory() && file.exists() && file.canRead())
38 - allURLs.add(file.toURL());
39 + allURLs.add(file.toURI().toURL());
40 directoryURLs.add(file);
41 continue;
43 @@ -212,8 +212,8 @@
44 final String fileName = file.getName();
45 if (fileName.endsWith(".jar") || fileName.endsWith(".zip"))
47 - allURLs.add(file.toURL());
48 - jarURLs.add(file.toURL());
49 + allURLs.add(file.toURI().toURL());
50 + jarURLs.add(file.toURI().toURL());