]> source.dussan.org Git - poi.git/commitdiff
don't shadow drawing field from XSSFShape in XSSFGraphicFrame
authorJaven O'Neal <onealj@apache.org>
Sat, 2 Jul 2016 08:40:50 +0000 (08:40 +0000)
committerJaven O'Neal <onealj@apache.org>
Sat, 2 Jul 2016 08:40:50 +0000 (08:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751038 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFGraphicFrame.java

index e0bbc266bce6c7ad94c07b097f1f6c44ece3b4d3..08d781bef0d90dca9b05665c9528ad4f1ddaa074 100644 (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;
        }