diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 09:54:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-05 11:31:50 +0200 |
commit | 0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 (patch) | |
tree | 3d441110176e37c1a6ba2d15a3653d5023863075 /sfx2/qa | |
parent | d26540bb05b0443e7988da34372c86f88cbf1f6c (diff) |
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
Diffstat (limited to 'sfx2/qa')
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentMetadataAccess.java | 1 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentProperties.java | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java index 0a5c87188ea1..41887dfc60ab 100644 --- a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java +++ b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java @@ -18,7 +18,6 @@ package complex.sfx2; -// import complexlib.ComplexTestCase; import com.sun.star.beans.Pair; import com.sun.star.rdf.Literal; import com.sun.star.rdf.XLiteral; diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java index dad1fc2bf6a6..b953d8bc19df 100644 --- a/sfx2/qa/complex/sfx2/DocumentProperties.java +++ b/sfx2/qa/complex/sfx2/DocumentProperties.java @@ -102,7 +102,6 @@ public class DocumentProperties mimetype.Name = "MediaType"; mimetype.Value = "application/vnd.oasis.opendocument.text"; PropertyValue[] mimeArgs = { mimetype }; -// new Any("application/vnd.oasis.opendocument.text")) }; PropertyValue cfile = new PropertyValue(); cfile.Name = "URL"; cfile.Value = temp + "EMPTY.odt"; @@ -111,8 +110,6 @@ public class DocumentProperties System.out.println("Creating service DocumentProperties..."); Object oDP = -// xMSF.createInstanceWithContext( -// "com.sun.star.document.DocumentProperties", xContext); xMSF.createInstance("com.sun.star.document.DocumentProperties"); XDocumentProperties xDP = UnoRuntime.queryInterface(XDocumentProperties.class, oDP); @@ -129,14 +126,12 @@ public class DocumentProperties System.out.println("Checking storing default-initialized meta data ..."); -// xDP2.storeToMedium(temp + "EMPTY.odt", mimeArgs); xDP2.storeToMedium("", mimeEmptyArgs); System.out.println("...done"); System.out.println("Checking loading default-initialized meta data ..."); -// xDP2.loadFromMedium(temp + "EMPTY.odt", noArgs); xDP2.loadFromMedium("", mimeEmptyArgs); assertEquals("Author", "", xDP2.getAuthor()); @@ -296,7 +291,6 @@ public class DocumentProperties assertEquals("setAutoloadURL", str, xDP.getAutoloadURL()); i = 3661; // this might not work (due to conversion via double...) xDP.setAutoloadSecs(i); -// System.out.println("set: " + i + " get: " + xDP.getAutoloadSecs()); assertEquals("setAutoloadSecs", i, xDP.getAutoloadSecs()); str = "_blank"; xDP.setDefaultTarget(str); |