diff options
author | Noel Grandin <noel@peralex.com> | 2020-09-25 11:55:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-25 17:56:14 +0200 |
commit | bd40e50bced36fe0aec70214f1c081955ac0acdd (patch) | |
tree | d48a488df82a52ac6287efddef0cd9c7d79b0ca2 /forms/qa | |
parent | bf858622e543163a23db766912ea6b121f447e6d (diff) |
fix compile error in java test code
likely caused by
commit 89340fcb6509afd1bffea7b6060d5ff5a444b3f1
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Wed May 20 13:45:07 2020 +0200
use for-range on Sequence in f*
but since this code appears to be currently unused, was never caught
Change-Id: I0e2f8eade9376ccd18ad9a63e6d5e3012a659938
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103381
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/qa')
-rw-r--r-- | forms/qa/org/openoffice/xforms/Instance.java | 2 |
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 ) ) |