From ac5954d7c540f34702033d7d951d1d16cb96730a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Aug 2014 15:58:09 +0200 Subject: java: remove commented out code Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1 --- qadevOOo/tests/java/mod/_sw/PageStyle.java | 1 - qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java | 2 -- qadevOOo/tests/java/mod/_sw/XMLContentImporter.java | 3 --- qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java | 3 --- 4 files changed, 9 deletions(-) (limited to 'qadevOOo/tests/java/mod/_sw') 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) ; -- cgit