aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-12-02 01:59:40 +0000
committerGlen Mazza <gmazza@apache.org>2004-12-02 01:59:40 +0000
commit58b03f1aa52fe8b8b34d044dfab8934e6a4a24af (patch)
treea70c2578067cdd0b1762ba25f54c5b22522c2b2b /src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java
parent67d4426da31f4c7f6344d630388c3fa7095ad6ce (diff)
downloadxmlgraphics-fop-58b03f1aa52fe8b8b34d044dfab8934e6a4a24af.tar.gz
xmlgraphics-fop-58b03f1aa52fe8b8b34d044dfab8934e6a4a24af.zip
PR:
Obtained from: Submitted by: Reviewed by: More commenting, changed definition of isResolved() somewhat in LinkResolver and UnresolvedPageNumber. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198183 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java')
-rw-r--r--src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java b/src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java
index 05bf28c7e..dcced2bb7 100644
--- a/src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java
+++ b/src/java/org/apache/fop/area/inline/UnresolvedPageNumber.java
@@ -60,16 +60,13 @@ public class UnresolvedPageNumber extends TextArea implements Resolvable {
*
* @param id the id associated with the pages parameter
* @param pages the list of PageViewports associated with this ID
- * @todo determine why the ID passed in will (always?) equal the pageIDRef,
- * explain in comments above
*/
public void resolveIDRef(String id, List pages) {
- resolved = true;
if (pages != null) {
+ resolved = true;
PageViewport page = (PageViewport)pages.get(0);
String str = page.getPageNumber();
text = str;
-
/**@todo Update IPD ??? */
}
}