Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2012-12-11 15:32:24 -0500
committerFlorian Thienel2012-12-11 15:32:24 -0500
commit8a69211aaca85d903de368d40b6afe98d10ff163 (patch)
tree4d67011d562fe028743e5cfadbe722a9f793abae /org.eclipse.vex.xhtml
parentf5127d2c6a386e0a9a1c3dde12242df3eb374156 (diff)
downloadorg.eclipse.mylyn.docs.vex-8a69211aaca85d903de368d40b6afe98d10ff163.tar.gz
org.eclipse.mylyn.docs.vex-8a69211aaca85d903de368d40b6afe98d10ff163.tar.xz
org.eclipse.mylyn.docs.vex-8a69211aaca85d903de368d40b6afe98d10ff163.zip
Revert accidental merge
Signed-off-by: Florian Thienel <florian@thienel.org>
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 6525085d..bbba6e12 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.getParentElement();
+ element = element.getParent();
}
return element;
}
@@ -70,7 +70,7 @@ public class XhtmlOutlineProvider implements IOutlineProvider {
}
public Object getParent(final Object element) {
- final Element parent = ((Element) element).getParentElement();
+ final Element parent = ((Element) element).getParent();
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.getParentElement().getChildElements();
+ final List<Element> childElements = element.getParent().getChildElements();
boolean foundSelf = false;
for (final Element child : childElements) {
if (child == element) {

Back to the top