summaryrefslogtreecommitdiff
path: root/sw/qa/complex
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-11 15:58:09 +0200
committerNoel Grandin <noel@peralex.com>2014-08-14 10:59:48 +0200
commitac5954d7c540f34702033d7d951d1d16cb96730a (patch)
tree310ba9698a10c74662de0714db683f932de32b0c /sw/qa/complex
parent89c0a2b2f65beeb6f42d3334662100a13169a8d6 (diff)
java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
Diffstat (limited to 'sw/qa/complex')
-rw-r--r--sw/qa/complex/writer/TextPortionEnumerationTest.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java
index 1c7d93af8627..973b976cc55e 100644
--- a/sw/qa/complex/writer/TextPortionEnumerationTest.java
+++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java
@@ -1317,9 +1317,7 @@ public class TextPortionEnumerationTest
{
String name = mkName("frame");
TreeNode root = new TreeNode();
-// TreeNode text = new TextNode(""); // necessary?
TreeNode fram = new FrameNode(name, AT_CHARACTER);
-// root.appendChild(text);
root.appendChild(fram);
doTest(root);
}
@@ -1482,8 +1480,6 @@ public class TextPortionEnumerationTest
StringPair id = new StringPair("content.xml", mkName("id"));
TreeNode root = new TreeNode();
TreeNode meta = new MetaNode(id);
-// TreeNode text = new TextNode("");
-// meta.appendChild(text);
root.appendChild(meta);
doTest(root);
}
@@ -1505,8 +1501,6 @@ public class TextPortionEnumerationTest
StringPair id = new StringPair("content.xml", mkName("id"));
TreeNode root = new TreeNode();
TreeNode meta = new MetaFieldNode(id);
-// TreeNode text = new TextNode("");
-// meta.appendChild(text);
root.appendChild(meta);
doTest(root);
}
@@ -2971,7 +2965,6 @@ public class TextPortionEnumerationTest
TreeNode text = new TextNode("12AB6789");
inserter.insertRange( new Range(0, 0, text) );
MetaNode meta = new MetaNode( mkId("id") );
-// inserter.insertRange( new Range(3, 5, met2) );
XTextContent xMeta = inserter.makeMeta();
XText xDocText = m_xDoc.getText();
@@ -2979,7 +2972,6 @@ public class TextPortionEnumerationTest
xDocTextCursor.goRight((short)3, false);
xDocTextCursor.goRight((short)2, true);
xDocText.insertTextContent(xDocTextCursor, xMeta, true);
-// xMeta.attach(xDocTextCursor);
XMetadatable xMetadatable = UnoRuntime.queryInterface(XMetadatable.class, xMeta);
xMetadatable.setMetadataReference(meta.getXmlId());
@@ -3599,7 +3591,6 @@ public class TextPortionEnumerationTest
}
if (!helper.isAttribute())
{
-// xText.setString("AB");
xStart = xText.getStart();
xEnd = xText.getEnd();
@@ -3809,7 +3800,6 @@ public class TextPortionEnumerationTest
loadProps[0].Value = new Boolean(true);
xComp = util.DesktopTools.loadDoc(m_xMSF, file, loadProps);
-// xComp = util.DesktopTools.getCLoader(m_xMSF).loadComponentFromURL(file, "_blank", 0, loadProps);
XTextDocument xTextDoc = UnoRuntime.queryInterface(XTextDocument.class, xComp);
@@ -4090,8 +4080,6 @@ public class TextPortionEnumerationTest
new TreeInserter(xDoc).insertTree(intree);
}
-//Thread.sleep(10000);
-
XText xText = xDoc.getText();
XEnumerationAccess xTextEA = UnoRuntime.queryInterface(XEnumerationAccess.class, xText);
XEnumeration xTextEnum = xTextEA.createEnumeration();