summaryrefslogtreecommitdiff
path: root/ucb/qa
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 /ucb/qa
parent89c0a2b2f65beeb6f42d3334662100a13169a8d6 (diff)
java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
Diffstat (limited to 'ucb/qa')
-rw-r--r--ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java9
-rw-r--r--ucb/qa/complex/tdoc/_XCommandProcessor.java16
2 files changed, 0 insertions, 25 deletions
diff --git a/ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java b/ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java
index ae82a7b63f82..613469e4f78b 100644
--- a/ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java
+++ b/ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java
@@ -145,15 +145,6 @@ public class CheckTransientDocumentsDocumentContent {
titleSetCommand.Argument = titleProp;
xFolderCommandProcessor.execute(titleSetCommand, 0, null);
- // 2do: check all this stuff!
- // commit changes
-/* InsertCommandArgument insertArgs = new InsertCommandArgument();
- insertArgs.Data = null;
- insertArgs.ReplaceExisting = true;
- Command commitCommand = new Command();
- commitCommand.Name = "insert";
- commitCommand.Argument = insertArgs;
- xFolderCommandProcessor.execute(commitCommand, 0, null); */
}
catch (com.sun.star.uno.Exception e) {
e.printStackTrace();
diff --git a/ucb/qa/complex/tdoc/_XCommandProcessor.java b/ucb/qa/complex/tdoc/_XCommandProcessor.java
index ad54704ba498..b745a0568267 100644
--- a/ucb/qa/complex/tdoc/_XCommandProcessor.java
+++ b/ucb/qa/complex/tdoc/_XCommandProcessor.java
@@ -174,22 +174,6 @@ public class _XCommandProcessor {
log.println("Command '" + commandName + "' was not executed correctly.");
}
}
-/* log.println("testing execute with wrong command");
-
- Command badCommand = new Command("bad command", -1, null);
-
- try {
- oObj.execute(badCommand, 0, null);
- } catch (CommandAbortedException e) {
- log.println("CommandAbortedException thrown - OK");
- } catch (UnsupportedCommandException e) {
- log.println("UnsupportedCommandException thrown - OK");
- } catch (Exception e) {
- log.println("Wrong exception thrown " + e.getMessage());
- e.printStackTrace((java.io.PrintWriter)log);
- throw new StatusException("Unexpected exception", e);
- }
-*/
return returnVal;
}