Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2012-08-26 17:19:47 -0400
committerFlorian Thienel2012-09-06 17:22:56 -0400
commit1cfaddd3fda93b9e119da9e5fa5f0d1f8b05969a (patch)
treeb48b43cc62375761b9e5ce48e47cf3b3a1c6c868 /org.eclipse.vex.docbook
parentfa09e321bdb425164a29e0697931754c401b2ab2 (diff)
downloadorg.eclipse.mylyn.docs.vex-1cfaddd3fda93b9e119da9e5fa5f0d1f8b05969a.tar.gz
org.eclipse.mylyn.docs.vex-1cfaddd3fda93b9e119da9e5fa5f0d1f8b05969a.tar.xz
org.eclipse.mylyn.docs.vex-1cfaddd3fda93b9e119da9e5fa5f0d1f8b05969a.zip
use getParentElement instead of getParent
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.java2
1 files changed, 1 insertions, 1 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 2dbde2c7..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,7 +43,7 @@ public class DocBookOutlineProvider implements IOutlineProvider {
public Element getOutlineElement(final Element child) {
Element element = child;
- while (element.getParent() != null && !isTitledElement(element)) {
+ while (element.getParentElement() != null && !isTitledElement(element)) {
element = element.getParentElement();
}

Back to the top