git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194392
13f79535-47bb-0310-9956-
ffa450edef68
cellArea.foCreator = this; // G Seshadri
cellArea.setPage(area.getPage());
- cellArea.setBorderAndPadding(propMgr.getBorderAndPadding());
+ try {
+ cellArea.setBorderAndPadding((BorderAndPadding)
+ propMgr.getBorderAndPadding().clone());
+ } catch (CloneNotSupportedException e) {
+ System.err.println("Can't clone BorderAndPadding: " + e) ;
+ cellArea.setBorderAndPadding(propMgr.getBorderAndPadding());
+ }
cellArea.setBackgroundColor(this.backgroundColor);
cellArea.start();