diff options
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/broadcaster.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/data.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/configmgr/source/broadcaster.cxx b/configmgr/source/broadcaster.cxx index 2652ae8831e7..87481cc28749 100644 --- a/configmgr/source/broadcaster.cxx +++ b/configmgr/source/broadcaster.cxx @@ -47,7 +47,7 @@ namespace { void appendMessage( OUStringBuffer & buffer, css::uno::Exception const & exception) { - buffer.appendAscii("; "); + buffer.append("; "); buffer.append(exception.Message); } 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(); } |