Revision 29285

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameView.java
336 336
			} else {
337 337
				if (rv != null) {
338 338
					// Dibujamos en pantalla
339
					Rectangle rclip = (Rectangle)g.getClipBounds().clone();
339
					Rectangle rclip = null;
340
					if (g.getClipBounds()!=null)
341
						rclip = (Rectangle)g.getClipBounds().clone();
340 342
					g.clipRect((int) r.getMinX(), (int) r.getMinY(), (int) r
341 343
							.getWidth(), (int) r.getHeight());
342 344

  
......
493 495
        } catch (ReadDriverException e) {
494 496
            NotificationManager.addError(e.getMessage(), e);
495 497
        }
496

  
497
        g.setClip(rclip.x, rclip.y, rclip.width, rclip.height);
498
 		g.setClip(rclip.x, rclip.y, rclip.width, rclip.height);
498 499
    }
499 500

  
500 501
    /**

Also available in: Unified diff