summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/runner/util/dbg.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/dbg.java b/qadevOOo/runner/util/dbg.java
index d7f77c5250e9..ba06f3c714ff 100644
--- a/qadevOOo/runner/util/dbg.java
+++ b/qadevOOo/runner/util/dbg.java
@@ -258,15 +258,15 @@ public class dbg {
public static void getSuppServices (Object aObject) {
XServiceInfo xSI = UnoRuntime.queryInterface(XServiceInfo.class,aObject);
printArray(xSI.getSupportedServiceNames());
- String str="Therein not Supported Service";
+ StringBuilder str = new StringBuilder("Therein not Supported Service");
boolean notSupportedServices = false;
for (int i=0;i<xSI.getSupportedServiceNames().length;i++) {
if (! xSI.supportsService(xSI.getSupportedServiceNames()[i])) {
notSupportedServices = true;
- str+="\n" + xSI.getSupportedServiceNames()[i];
+ str.append("\n").append(xSI.getSupportedServiceNames()[i]);
}
}
if (notSupportedServices)
- System.out.println(str);
+ System.out.println(str.toString());
}
}