Revision 1171 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/Abrir.java

View differences:

Abrir.java
126 126

  
127 127
				IProjection proj = FOpenDialog.getLastProjection();
128 128
				File[] files = fileDlg.getFiles();
129
				String[] driverNames = fileDlg.getDriverNames();
129 130
				Rectangle2D[] rects=new Rectangle2D[files.length];
130 131
				boolean first=false;
131 132
				for (int iFile = 0; iFile < files.length; iFile++) {
......
135 136

  
136 137
					try {
137 138
						lyr = LayerFactory.createLayer(layerName,
138
								fileDlg.getDriverName(), fich, proj);
139
								driverNames[iFile], fich, proj);
139 140

  
140 141
						if (lyr != null) {
141 142
							lyr.setVisible(true);

Also available in: Unified diff