Revision 29286

View differences:

branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameView.java
357 357
			} else {
358 358
				if (rv != null) {
359 359
					// Dibujamos en pantalla
360
					Rectangle rclip = (Rectangle)g.getClipBounds().clone();
360
					Rectangle rclip = null;
361
					if (g.getClipBounds()!=null)
362
						rclip = (Rectangle)g.getClipBounds().clone();
361 363
					g.clipRect((int) r.getMinX(), (int) r.getMinY(), (int) r
362 364
							.getWidth(), (int) r.getHeight());
363 365

  
......
424 426
									} catch (MapContextException mpex) {
425 427
                                        mpex.printStackTrace();
426 428
									}
427
									
429

  
428 430
									g.translate(r.getX(), r.getY());
429 431

  
430 432
								} else {

Also available in: Unified diff