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.docbook
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.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 1d156241..94980717 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.getParent() != null && !isTitledElement(element)) {
- element = element.getParent();
+ while (element.getParentElement() != null && !isTitledElement(element)) {
+ 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