summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/MSOfficePrint.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-21 08:24:17 +0200
committerNoel Grandin <noel@peralex.com>2014-10-07 13:20:03 +0200
commit81968336ea6433293c603110a75bd13d5898c0eb (patch)
treec4bc0f45710302f3bd6734388ae9ff01d59c68ad /qadevOOo/runner/convwatch/MSOfficePrint.java
parentf9be44340a1fbabb67c7a33d8c9b4766a56c1fde (diff)
java: use equalsIgnoreCase() instead of toLowerCase().equals()
Change-Id: I8f4afc7e15a9d85d99ea80edbbbd2b507b254ddc
Diffstat (limited to 'qadevOOo/runner/convwatch/MSOfficePrint.java')
-rw-r--r--qadevOOo/runner/convwatch/MSOfficePrint.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/convwatch/MSOfficePrint.java b/qadevOOo/runner/convwatch/MSOfficePrint.java
index b80bdf57331e..62d8c54e391f 100644
--- a/qadevOOo/runner/convwatch/MSOfficePrint.java
+++ b/qadevOOo/runner/convwatch/MSOfficePrint.java
@@ -115,10 +115,10 @@ public class MSOfficePrint
else if (isPowerPointDocument(sDocumentSuffix))
{
}
- else if (sDocumentSuffix.toLowerCase().equals(".xml"))
+ else if (sDocumentSuffix.equalsIgnoreCase(".xml"))
{
// special case, if xml we prefer word, but with DEFAULT_XML_FORMAT_APP=excel it's changeable.
- if (_aGTA.getDefaultXMLFormatApp().toLowerCase().equals("excel"))
+ if (_aGTA.getDefaultXMLFormatApp().equalsIgnoreCase("excel"))
{
aStartCommand = createExcelStoreHelper();
}
@@ -169,7 +169,7 @@ public class MSOfficePrint
{
aStartCommand = createPowerPointPrintHelper();
}
- else if (sDocumentSuffix.toLowerCase().equals(".xml"))
+ else if (sDocumentSuffix.equalsIgnoreCase(".xml"))
{
// TODO: Open XML File and check if we need excel or word
String sOfficeType = getOfficeType(_sInputFile);