Ignore:
Timestamp:
2017-09-09T17:48:13+02:00 (20 months ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - remove GUI references from GeoJSONWriter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/GeoJSONExporter.java

    r12671 r12806  
    3636        if (layer instanceof OsmDataLayer) {
    3737            try (Writer out = Files.newBufferedWriter(file.toPath(), StandardCharsets.UTF_8)) {
    38                 out.write(new GeoJSONWriter((OsmDataLayer) layer).write());
     38                out.write(new GeoJSONWriter(((OsmDataLayer) layer).data).write());
    3939            }
    4040        } else {
Note: See TracChangeset for help on using the changeset viewer.