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:
Javen O'Neal 2016-07-02 08:40:50 +00:00
parent 892c5bf8fc
commit 3934d10809
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}