summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/MSOfficePrint.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 09:54:58 +0200
committerNoel Grandin <noel@peralex.com>2014-08-05 11:31:50 +0200
commit0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 (patch)
tree3d441110176e37c1a6ba2d15a3653d5023863075 /qadevOOo/runner/convwatch/MSOfficePrint.java
parentd26540bb05b0443e7988da34372c86f88cbf1f6c (diff)
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
Diffstat (limited to 'qadevOOo/runner/convwatch/MSOfficePrint.java')
-rw-r--r--qadevOOo/runner/convwatch/MSOfficePrint.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/qadevOOo/runner/convwatch/MSOfficePrint.java b/qadevOOo/runner/convwatch/MSOfficePrint.java
index be907be3c589..4df3a2f23b10 100644
--- a/qadevOOo/runner/convwatch/MSOfficePrint.java
+++ b/qadevOOo/runner/convwatch/MSOfficePrint.java
@@ -124,9 +124,6 @@ public class MSOfficePrint
{
aStartCommand = createExcelStoreHelper();
}
- // else
- // {
- // }
}
else
{
@@ -142,11 +139,6 @@ public class MSOfficePrint
sFilterName = ""; // xlXMLSpreadsheet";
}
- // String sCommand = sStartCommand + " " +
- // _sInputFile + " " +
- // StringHelper.doubleQuote(sFilterName) + " " +
- // _sOutputFile;
-
aStartCommand.add(_sInputFile);
aStartCommand.add(sFilterName);
aStartCommand.add(_sOutputFile);
@@ -214,10 +206,6 @@ public class MSOfficePrint
sPrinterName = "";
}
- // String sCommand = sStartCommand + " " +
- // _sInputFile + " " +
- // StringHelper.doubleQuote(m_sPrinterName) + " " +
- // _sPrintFilename;
aStartCommand.add(_sInputFile);
aStartCommand.add(m_sPrinterName);
aStartCommand.add(_sPrintFilename);
@@ -406,8 +394,6 @@ public class MSOfficePrint
}
String sName = aPerlScript.getAbsolutePath();
- // String sCommand = "perl " + sName;
- // System.out.println(sCommand);
aList.add("perl");
aList.add(sName);
return aList;
@@ -422,7 +408,6 @@ public class MSOfficePrint
String ls = System.getProperty("line.separator");
String fs = System.getProperty("file.separator");
- // ArrayList aList = new ArrayList();
String sSaveViaWord = "saveViaWord.pl";
ArrayList<String> aList = searchLocalFile(sSaveViaWord);
@@ -584,9 +569,6 @@ public class MSOfficePrint
out.write( "{" + ls);
out.write( " print FILE \"name=$ARGV[0]\\n\";" + ls);
out.write( " print FILE \"ExcelVersion=$sVersion\\n\";" + ls);
-// out.write( " print FILE \"WordStartTime=$stopWordTime\\n\";" + ls);
-// out.write( " print FILE \"WordLoadTime=$stopLoadWordTime\\n\";" + ls);
-// out.write( " print FILE \"WordPrintTime=$stopPrintWordTime\\n\";" + ls);
out.write( " close(FILE);" + ls);
out.write( "}" + ls);
out.close();
@@ -776,9 +758,6 @@ public class MSOfficePrint
out.write( "{" + ls);
out.write( " print FILE \"name=$ARGV[0]\\n\";" + ls);
out.write( " print FILE \"PowerPointVersion=$sVersion\\n\";" + ls);
-// out.write( " print FILE \"WordStartTime=$stopWordTime\\n\";" + ls);
-// out.write( " print FILE \"WordLoadTime=$stopLoadWordTime\\n\";" + ls);
-// out.write( " print FILE \"WordPrintTime=$stopPrintWordTime\\n\";" + ls);
out.write( " close(FILE);" + ls);
out.write( "}" + ls);
out.close();