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.docbook
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.docbook')
-rw-r--r--org.eclipse.vex.docbook/src/org/eclipse/vex/docbook/DocBookOutlineProvider.java6
1 files changed, 3 insertions, 3 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 94980717..1d156241 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
@@ -43,8 +43,8 @@ public class DocBookOutlineProvider implements IOutlineProvider {
public Element getOutlineElement(final Element child) {
Element element = child;
- while (element.getParentElement() != null && !isTitledElement(element)) {
- element = element.getParentElement();
+ while (element.getParent() != null && !isTitledElement(element)) {
+ element = element.getParent();
}
return element;
@@ -63,7 +63,7 @@ public class DocBookOutlineProvider 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 {

Back to the top