summaryrefslogtreecommitdiffstats
path: root/configmgr/source/data.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/data.cxx')
-rw-r--r--configmgr/source/data.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/configmgr/source/data.cxx b/configmgr/source/data.cxx
index f173ee1556fb..24987d65c44b 100644
--- a/configmgr/source/data.cxx
+++ b/configmgr/source/data.cxx
@@ -85,9 +85,8 @@ OUString Data::createSegment(
return name;
}
OUStringBuffer buf(128);
- buf.append(templateName);
- //TODO: verify template name contains no bad chars?
- buf.append("['");
+ //TODO: verify template name contains no bad chars?
+ buf.append(OUString::Concat(templateName) + "['");
for (sal_Int32 i = 0; i < name.getLength(); ++i) {
sal_Unicode c = name[i];
switch (c) {