aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/InstreamForeignObject.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/InstreamForeignObject.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
index 5c67135ef..070162ed0 100644
--- a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
+++ b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
@@ -285,17 +285,6 @@ public class InstreamForeignObject extends FObj {
return FO_INSTREAM_FOREIGN_OBJECT;
}
- /** @see org.apache.fop.fo.FObj */
- public Number getLayoutDimension(PercentBase.LayoutDimension key) {
- if (key == PercentBase.IMAGE_INTRINSIC_WIDTH) {
- return new Integer(getIntrinsicWidth());
- } else if (key == PercentBase.IMAGE_INTRINSIC_HEIGHT) {
- return new Integer(getIntrinsicHeight());
- } else {
- return super.getLayoutDimension(key);
- }
- }
-
/**
* Preloads the image so the intrinsic size is available.
*/