Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2012-08-18 05:18:37 -0400
committerFlorian Thienel2012-09-06 17:22:55 -0400
commitf0934b99ba292e99ebd1dea0fc218452f13e8ced (patch)
treee54fbb2569edb9af8505337288d799e227dd6119 /org.eclipse.vex.docbook
parente2492ce78669a166e18f04921e35bf32edd016c8 (diff)
downloadorg.eclipse.mylyn.docs.vex-f0934b99ba292e99ebd1dea0fc218452f13e8ced.tar.gz
org.eclipse.mylyn.docs.vex-f0934b99ba292e99ebd1dea0fc218452f13e8ced.tar.xz
org.eclipse.mylyn.docs.vex-f0934b99ba292e99ebd1dea0fc218452f13e8ced.zip
Added explicit Parent class to the DOM inheritence hierarchy.
Signed-off-by: Florian Thienel <florian@thienel.org>
Diffstat (limited to 'org.eclipse.vex.docbook')
-rw-r--r--org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java b/org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java
index 1d156241..2dbde2c7 100644
--- a/org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java
+++ b/org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java
@@ -44,7 +44,7 @@ public class DocBookOutlineProvider implements IOutlineProvider {
public Element getOutlineElement(final Element child) {
Element element = child;
while (element.getParent() != null && !isTitledElement(element)) {
- element = element.getParent();
+ element = element.getParentElement();
}
return element;
@@ -63,7 +63,7 @@ public class DocBookOutlineProvider 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 {

Back to the top