summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/query/QuerySummary.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java
index dd5a8edc2bd6..d6bb2f7422ef 100644
--- a/wizards/com/sun/star/wizards/query/QuerySummary.java
+++ b/wizards/com/sun/star/wizards/query/QuerySummary.java
@@ -185,7 +185,7 @@ public class QuerySummary extends QueryMetaData
private String ArrayFieldsToString(int _InitResID, String[][] _FieldNames, int _BaseStringID, String[] _ReplaceTags)
{
String CurString = PropertyNames.EMPTY_STRING;
- String sReturn = oResource.getResText(_InitResID);
+ StringBuilder sReturn = new StringBuilder(oResource.getResText(_InitResID));
int FieldCount = _FieldNames.length;
if (FieldCount > 0)
{
@@ -213,13 +213,13 @@ public class QuerySummary extends QueryMetaData
CurString = JavaTools.replaceSubString(CurString, _FieldNames[i][a], _ReplaceTags[a]);
}
}
- sReturn += CurString;
+ sReturn.append(CurString);
if (i < FieldCount - 1)
{
- sReturn += sSeparator;
+ sReturn.append(sSeparator);
}
}
}
- return sReturn;
+ return sReturn.toString();
}
}
9ae7a77df'>tdf#42949 Fix IWYU warnings in configmgr/*Gabor Kelemen 2019-06-14loplugin:logexceptionnicely in configmgr..connectivityNoel Grandin 2019-06-12configmgr: support changing locale languageAshod Nakashian 2019-06-10Use hasElements to check Sequence emptiness in chart2..connectivityArkadiy Illarionov 2019-05-13configmgr: workaround GCC9 -Werror=sign-compare in static_assertMichael Stahl 2019-05-12regenerate PCH headersLuboš Luňák 2019-05-10an uno -> a unoCaolán McNamara 2019-05-10Remove dead test codeStephan Bergmann 2019-05-09regenerate PCH headers for the 4 new levelsLuboš Luňák 2019-04-19optimise find/insert patternNoel Grandin 2019-04-12Allow <oor:items> in .xcd tooStephan Bergmann 2019-03-12Simplify containers iterations in chart2, cli_ure, comphelper, configmgrArkadiy Illarionov 2019-03-05re-land "new loplugin typedefparam""Noel Grandin 2019-02-27loplugin:unusedfields look for classes where we can make all the..Noel Grandin 2019-02-19Some uses of C++17 class template argument deductionStephan Bergmann