Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.vex.xhtml')
-rw-r--r--org.eclipse.vex.xhtml/src/org/eclipse/vex/xhtml/XhtmlOutlineProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.vex.xhtml/src/org/eclipse/vex/xhtml/XhtmlOutlineProvider.java b/org.eclipse.vex.xhtml/src/org/eclipse/vex/xhtml/XhtmlOutlineProvider.java
index bbba6e12..6525085d 100644
--- a/org.eclipse.vex.xhtml/src/org/eclipse/vex/xhtml/XhtmlOutlineProvider.java
+++ b/org.eclipse.vex.xhtml/src/org/eclipse/vex/xhtml/XhtmlOutlineProvider.java
@@ -50,7 +50,7 @@ public class XhtmlOutlineProvider implements IOutlineProvider {
return element;
}
- element = element.getParent();
+ element = element.getParentElement();
}
return element;
}
@@ -70,7 +70,7 @@ public class XhtmlOutlineProvider implements IOutlineProvider {
}
public Object getParent(final Object element) {
- final Element parent = ((Element) element).getParent();
+ final Element parent = ((Element) element).getParentElement();
if (parent == null) {
return element;
} else {
@@ -123,7 +123,7 @@ public class XhtmlOutlineProvider implements IOutlineProvider {
// between this element and the next element at the same level
final int level = Integer.parseInt(element.getLocalName().substring(1));
final String childName = "h" + (level + 1);
- final List<Element> childElements = element.getParent().getChildElements();
+ final List<Element> childElements = element.getParentElement().getChildElements();
boolean foundSelf = false;
for (final Element child : childElements) {
if (child == element) {

Back to the top