Browse Source

explicitly "this" referenced member variables

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@660895 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_0
Adrian Cumiskey 16 years ago
parent
commit
81b174b685
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      src/java/org/apache/fop/area/inline/Viewport.java

+ 9
- 9
src/java/org/apache/fop/area/inline/Viewport.java View File

@@ -45,7 +45,7 @@ public class Viewport extends InlineArea {
* @param child the child content area of this viewport
*/
public Viewport(Area child) {
content = child;
this.content = child;
}

/**
@@ -54,7 +54,7 @@ public class Viewport extends InlineArea {
* @param c true if this viewport should clip
*/
public void setClip(boolean c) {
clip = c;
this.clip = c;
}

/**
@@ -63,7 +63,7 @@ public class Viewport extends InlineArea {
* @return true if this viewport should clip
*/
public boolean getClip() {
return clip;
return this.clip;
}

/**
@@ -72,7 +72,7 @@ public class Viewport extends InlineArea {
* @param cp the position and size to place the content
*/
public void setContentPosition(Rectangle2D cp) {
contentPosition = cp;
this.contentPosition = cp;
}

/**
@@ -81,7 +81,7 @@ public class Viewport extends InlineArea {
* @return the position and size to place the content
*/
public Rectangle2D getContentPosition() {
return contentPosition;
return this.contentPosition;
}

/**
@@ -98,7 +98,7 @@ public class Viewport extends InlineArea {
* @return the content area
*/
public Area getContent() {
return content;
return this.content;
}

private void writeObject(java.io.ObjectOutputStream out)
@@ -123,9 +123,9 @@ public class Viewport extends InlineArea {
in.readFloat(),
in.readFloat());
}
clip = in.readBoolean();
props = (HashMap) in.readObject();
content = (Area) in.readObject();
this.clip = in.readBoolean();
this.props = (HashMap) in.readObject();
this.content = (Area) in.readObject();
}

}

Loading…
Cancel
Save