summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw
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 /qadevOOo/tests/java/mod/_sw
parent89c0a2b2f65beeb6f42d3334662100a13169a8d6 (diff)
java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw')
-rw-r--r--qadevOOo/tests/java/mod/_sw/PageStyle.java1
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLContentImporter.java3
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java3
4 files changed, 0 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/PageStyle.java b/qadevOOo/tests/java/mod/_sw/PageStyle.java
index b41875765fcc..1e989ecf5cbd 100644
--- a/qadevOOo/tests/java/mod/_sw/PageStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/PageStyle.java
@@ -114,7 +114,6 @@ public class PageStyle extends TestCase {
XMultiServiceFactory oMSF = UnoRuntime.queryInterface(XMultiServiceFactory.class, xTextDoc);
XInterface oInt = (XInterface)
oMSF.createInstance("com.sun.star.style.PageStyle");
-// oMSF.createInstanceWithArguments("com.sun.star.style.PageStyle",new Object[]{oStyle});
oMyStyle = UnoRuntime.queryInterface(XStyle.class, oInt);
} catch ( com.sun.star.uno.Exception e ) {
log.println("Error: exception occurred.");
diff --git a/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java b/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
index a95ce939baf3..ec7d533d84ed 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
@@ -101,8 +101,6 @@ public class SwXChapterNumbering extends TestCase {
e.printStackTrace();
}
- //instance1[0].Value = new Short((short)5);
-
TestEnvironment tEnv = new TestEnvironment( oObj );
tEnv.addObjRelation("INSTANCE1", instance1);
diff --git a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java b/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
index 1cca405298da..049519ce976e 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
@@ -122,9 +122,6 @@ public class XMLContentImporter extends TestCase {
try {
oInt = xMSF.createInstance
("com.sun.star.comp.Writer.XMLContentImporter") ;
- //XImporter imp = (XImporter) UnoRuntime.queryInterface
- // (XImporter.class, oInt) ;
- //imp.setTargetDocument(xTextDoc) ;
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Can't create component.", e) ;
diff --git a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
index 39c142119b75..1c20d090d246 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
@@ -125,9 +125,6 @@ public class XMLMetaImporter extends TestCase {
try {
oInt = xMSF.createInstance
("com.sun.star.comp.Writer.XMLMetaImporter") ;
- //XImporter imp = (XImporter) UnoRuntime.queryInterface
- // (XImporter.class, oInt) ;
- //imp.setTargetDocument(xTextDoc) ;
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Can't create component.", e) ;