diff options
-rw-r--r-- | qadevOOo/runner/convwatch/DBHelper.java | 4 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/common/FileAccess.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/convwatch/DBHelper.java b/qadevOOo/runner/convwatch/DBHelper.java index 26be888f02fd..aaf6497bcd75 100644 --- a/qadevOOo/runner/convwatch/DBHelper.java +++ b/qadevOOo/runner/convwatch/DBHelper.java @@ -187,8 +187,8 @@ public class DBHelper public String Quote(String _sToQuote) { - String ts = "'"; - String ds = "\""; + char ts = '\''; + char ds = '"'; int nQuote = _sToQuote.indexOf(ts); if (nQuote >= 0) { diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index a44c786cea2a..3424860c1643 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -1063,7 +1063,7 @@ public class FileAccess { if (path.startsWith("/")) { // unix - int nextSlash = path.indexOf("/", 1) + 1; + int nextSlash = path.indexOf('/', 1) + 1; firstPart = Math.min(nextSlash, (maxLength - 3) / 2); } else |