aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-07-02 08:40:50 +0000
committerJaven O'Neal <onealj@apache.org>2016-07-02 08:40:50 +0000
commit3934d1080989da061f96c7731574942f2fc9c06d (patch)
tree45b493be0df09db45c3b4d7d51119da4e80137b8 /src
parent892c5bf8fce9cc451e58f424820e878d79d45775 (diff)
downloadpoi-3934d1080989da061f96c7731574942f2fc9c06d.tar.gz
poi-3934d1080989da061f96c7731574942f2fc9c06d.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java
index e0bbc266bc..08d781bef0 100644
--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java
+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java
@@ -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;
}