summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/qa/org/openoffice/xforms/Instance.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/qa/org/openoffice/xforms/Instance.java b/forms/qa/org/openoffice/xforms/Instance.java
index 53e9452df72a..d98c647a959f 100644
--- a/forms/qa/org/openoffice/xforms/Instance.java
+++ b/forms/qa/org/openoffice/xforms/Instance.java
@@ -92,7 +92,7 @@ public class Instance
private XNode removeNode( XNode _parentElement, String _elementName ) throws DOMException
{
XNodeList nodes = _parentElement.getChildNodes();
- for ( int i=0; i<nodes.(); ++i )
+ for ( int i=0; i<nodes.getLength(); ++i )
{
XNode node = nodes.item(i);
if ( node.getLocalName().equals( _elementName ) )