Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2013-01-29 14:46:52 -0500
committerFlorian Thienel2013-01-29 14:46:52 -0500
commitfde668284b40cdbfb0e0beefc76f915eec78005d (patch)
tree48be35aa85babae0268a1c544b57772dcde7177e /org.eclipse.vex.xhtml
parent4eff451e45f64590b97a5cb7092b784cf8e0df20 (diff)
downloadorg.eclipse.mylyn.docs.vex-fde668284b40cdbfb0e0beefc76f915eec78005d.tar.gz
org.eclipse.mylyn.docs.vex-fde668284b40cdbfb0e0beefc76f915eec78005d.tar.xz
org.eclipse.mylyn.docs.vex-fde668284b40cdbfb0e0beefc76f915eec78005d.zip
use Element.getParentElement() instead of Element.getParent()
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.java2
1 files changed, 1 insertions, 1 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 6525085d..5a16d26c 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
@@ -41,7 +41,7 @@ public class XhtmlOutlineProvider implements IOutlineProvider {
public Element getOutlineElement(final Element child) {
Element element = child;
- while (element.getParent() != null) {
+ while (element.getParentElement() != null) {
// TODO: compare to all structural element names

Back to the top