diff options
author | Mark Wielaard <mark@klomp.org> | 2006-02-22 08:34:06 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2006-02-22 08:34:06 +0000 |
commit | 74e23dff8c409d1316ef3558fa2287ee919804ac (patch) | |
tree | a75f698b7e240ff2d867582c67555d7b5fcfe669 | |
parent | 57efe4b85b21c948f48c37ad6baec069346ddee8 (diff) | |
download | classpath-74e23dff8c409d1316ef3558fa2287ee919804ac.tar.gz |
* javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
qualify AbstractDocument.AttributeContext.
(blockOpen): Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | javax/swing/text/html/HTMLDocument.java | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-02-22 Mark Wielaard <mark@klomp.org> + + * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully + qualify AbstractDocument.AttributeContext. + (blockOpen): Likewise. + 2006-02-21 Mark Wielaard <mark@klomp.org> * java/awt/Component.java (translateEvent): Translate diff --git a/javax/swing/text/html/HTMLDocument.java b/javax/swing/text/html/HTMLDocument.java index 062fdd5fe..de31ca09f 100644 --- a/javax/swing/text/html/HTMLDocument.java +++ b/javax/swing/text/html/HTMLDocument.java @@ -150,7 +150,7 @@ public class HTMLDocument extends DefaultStyledDocument */ protected AbstractElement createDefaultRoot() { - AttributeContext ctx = getAttributeContext(); + AbstractDocument.AttributeContext ctx = getAttributeContext(); // Create html element. AttributeSet atts = ctx.getEmptySet(); @@ -1286,7 +1286,7 @@ public class HTMLDocument extends DefaultStyledDocument { printBuffer(); DefaultStyledDocument.ElementSpec element; - AttributeContext ctx = getAttributeContext(); + AbstractDocument.AttributeContext ctx = getAttributeContext(); AttributeSet copy = attr.copyAttributes(); copy = ctx.addAttribute(copy, StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(copy, |