mirror of https://github.com/apache/poi.git
don't shadow drawing field from XSSFShape in XSSFGraphicFrame
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
892c5bf8fc
commit
3934d10809
|
@ -43,8 +43,6 @@ public final class XSSFGraphicFrame extends XSSFShape {
|
|||
private static CTGraphicalObjectFrame prototype = null;
|
||||
|
||||
private CTGraphicalObjectFrame graphicFrame;
|
||||
// FIXME: shadows protected XSSFShape.drawing
|
||||
private XSSFDrawing drawing;
|
||||
private XSSFClientAnchor anchor;
|
||||
|
||||
/**
|
||||
|
@ -54,7 +52,7 @@ public final class XSSFGraphicFrame extends XSSFShape {
|
|||
* @param ctGraphicFrame the XML bean that stores this frame content
|
||||
*/
|
||||
protected XSSFGraphicFrame(XSSFDrawing drawing, CTGraphicalObjectFrame ctGraphicFrame) {
|
||||
this.drawing = drawing;
|
||||
this.drawing = drawing; // protected field on XSSFShape
|
||||
this.graphicFrame = ctGraphicFrame;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue