aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2004-11-01 09:16:23 +0000
committerJeremias Maerki <jeremias@apache.org>2004-11-01 09:16:23 +0000
commit2a2627afd17a8f0be3a2ee12caefd4448d8fc577 (patch)
tree61cf8febcae3ba1ed797d92c8dc3f3c5873c69fb /examples
parent64589723b08b303cfe42c81201cbea73ca688e97 (diff)
downloadxmlgraphics-fop-2a2627afd17a8f0be3a2ee12caefd4448d8fc577.tar.gz
xmlgraphics-fop-2a2627afd17a8f0be3a2ee12caefd4448d8fc577.zip
Fixed compile error
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198114 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r--examples/mathml/src/org/apache/fop/mathml/MathMLElement.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
index 025ed6020..92501fe81 100644
--- a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
+++ b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
@@ -24,6 +24,7 @@ import java.awt.geom.Point2D;
import org.apache.fop.apps.FOPException;
import org.apache.fop.fo.FONode;
+import org.apache.fop.fo.PropertyList;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -58,9 +59,11 @@ public class MathMLElement extends MathMLObj {
/**
* @see org.apache.fop.fo.FONode#processNode
*/
- public void processNode(String elementName, Locator locator,
- Attributes attlist) throws FOPException {
- super.processNode(elementName, locator, attlist);
+ public void processNode(String elementName,
+ Locator locator,
+ Attributes attlist,
+ PropertyList propertyList) throws FOPException {
+ super.processNode(elementName, locator, attlist, propertyList);
createBasicDocument();
}
@@ -73,7 +76,7 @@ public class MathMLElement extends MathMLObj {
converted = true;
String fontname = "Helvetica";
int fontstyle = 0;
- int inlinefontstyle = 0;
+ //int inlinefontstyle = 0;
int displayfontsize = 12;
int inlinefontsize = 12;