Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2013-01-04 12:39:20 -0500
committerFlorian Thienel2013-01-04 12:39:20 -0500
commitcedd55653bdd6236be5defcdbf21742d4289bae1 (patch)
tree136db6ff544382710f141e3c88fc1c029b778365 /org.eclipse.vex.xhtml
parent8a69211aaca85d903de368d40b6afe98d10ff163 (diff)
downloadorg.eclipse.mylyn.docs.vex-cedd55653bdd6236be5defcdbf21742d4289bae1.tar.gz
org.eclipse.mylyn.docs.vex-cedd55653bdd6236be5defcdbf21742d4289bae1.tar.xz
org.eclipse.mylyn.docs.vex-cedd55653bdd6236be5defcdbf21742d4289bae1.zip
re-applying merge with dom_refactoring
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 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