aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r--src/java/org/apache/fop/area/inline/Viewport.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/area/inline/Viewport.java b/src/java/org/apache/fop/area/inline/Viewport.java
index fadeb6e97..0dc0112bd 100644
--- a/src/java/org/apache/fop/area/inline/Viewport.java
+++ b/src/java/org/apache/fop/area/inline/Viewport.java
@@ -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();
}
}