diff options
Diffstat (limited to 'configmgr/source/data.cxx')
-rw-r--r-- | configmgr/source/data.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configmgr/source/data.cxx b/configmgr/source/data.cxx index e322b10e07f8..0eb1fff91dcd 100644 --- a/configmgr/source/data.cxx +++ b/configmgr/source/data.cxx @@ -87,25 +87,25 @@ OUString Data::createSegment( } OUStringBuffer buf(templateName); //TODO: verify template name contains no bad chars? - buf.appendAscii("['"); + buf.append("['"); for (sal_Int32 i = 0; i < name.getLength(); ++i) { sal_Unicode c = name[i]; switch (c) { case '&': - buf.appendAscii("&"); + buf.append("&"); break; case '"': - buf.appendAscii("""); + buf.append("""); break; case '\'': - buf.appendAscii("'"); + buf.append("'"); break; default: buf.append(c); break; } } - buf.appendAscii("']"); + buf.append("']"); return buf.makeStringAndClear(); } |