[Libreoffice-commits] core.git: forms/qa
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 25 15:57:00 UTC 2020
forms/qa/org/openoffice/xforms/Instance.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd40e50bced36fe0aec70214f1c081955ac0acdd
Author: Noel Grandin <noel at peralex.com>
AuthorDate: Fri Sep 25 11:55:51 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Sep 25 17:56:14 2020 +0200
fix compile error in java test code
likely caused by
commit 89340fcb6509afd1bffea7b6060d5ff5a444b3f1
Author: Noel Grandin <noel.grandin at 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 at collabora.co.uk>
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 ) )
More information about the Libreoffice-commits
mailing list