Changeset 8495 in josm for trunk/src/org/openstreetmap/josm/actions/search
- Timestamp:
- 2015-06-19T19:20:50+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r8470 r8495 1302 1302 * Matches objects within source area ("downloaded area"). 1303 1303 */ 1304 p rivatestatic class InDataSourceArea extends InArea {1304 public static class InDataSourceArea extends InArea { 1305 1305 1306 1306 public InDataSourceArea(boolean all) { … … 1310 1310 @Override 1311 1311 protected Bounds getBounds() { 1312 return new Bounds(Main.main.getCurrentDataSet().getDataSourceArea().getBounds2D()); 1312 return Main.main.getCurrentDataSet() == null || Main.main.getCurrentDataSet().getDataSourceArea() == null 1313 ? null : new Bounds(Main.main.getCurrentDataSet().getDataSourceArea().getBounds2D()); 1313 1314 } 1314 1315 }
Note:
See TracChangeset
for help on using the changeset viewer.