[Libreoffice-commits] core.git: xmerge/source
rbuj
robert.buj at gmail.com
Sat Aug 2 04:37:02 PDT 2014
xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/NodeIterator.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 958a95d052002120a9e3871fe3e3fb2cbaa33bdb
Author: rbuj <robert.buj at gmail.com>
Date: Sat Aug 2 13:23:31 2014 +0200
xmerge: Remove local variable name conflict
Change-Id: Id1708504934588c2e881bf249bc07bc61dc2c3c6
Reviewed-on: https://gerrit.libreoffice.org/10690
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/NodeIterator.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/NodeIterator.java
index 34c358d..b264b5f 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/NodeIterator.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/NodeIterator.java
@@ -355,10 +355,10 @@ public abstract class NodeIterator implements Iterator {
// (can be optimized in future)
String nodeName = node.getNodeName();
if ( cc_ == null || cc_.canConvertTag(nodeName)) {
- NodeList nodeList = node.getChildNodes();
- int nodeListLength = nodeList.getLength();
+ NodeList auxNodeList = node.getChildNodes();
+ int nodeListLength = auxNodeList.getLength();
for (int i = 0; i < nodeListLength; i++) {
- markTree(nodeList.item(i));
+ markTree(auxNodeList.item(i));
}
}
else {
More information about the Libreoffice-commits
mailing list