Ignore:
Timestamp:
2009-07-19T19:04:49+02:00 (15 years ago)
Author:
Gubaer
Message:

removed dependencies to Main.ds, removed Main.ds
removed AddVisitor, NameVisitor, DeleteVisitor - unnecessary double dispatching for these simple cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java

    r1797 r1814  
    7979            Collection<OsmPrimitive> sel = new HashSet<OsmPrimitive>();
    8080            if (mode.equals("selection")) {
    81                 sel = Main.ds.getSelected();
     81                sel = getCurrentDataSet().getSelected();
    8282            } else if (mode.equals("conflict")) {
    8383                if (Main.map.conflictDialog.getConflicts() != null) {
Note: See TracChangeset for help on using the changeset viewer.