Changeset 14404 in josm for trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
- Timestamp:
- 2018-11-02T21:45:21+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r14331 r14404 1166 1166 try { 1167 1167 URI uri = getSvgUniverse().loadSVG(path); 1168 if (uri == null && "jar".equals(path.getProtocol())) { 1169 URL betterPath = Utils.betterJarUrl(path); 1170 if (betterPath != null) { 1171 uri = getSvgUniverse().loadSVG(betterPath); 1172 } 1173 } 1168 1174 svg = getSvgUniverse().getDiagram(uri); 1169 } catch (SecurityException e) { 1175 } catch (SecurityException | IOException e) { 1170 1176 Logging.log(Logging.LEVEL_WARN, "Unable to read SVG", e); 1171 1177 }
Note:
See TracChangeset
for help on using the changeset viewer.
