summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/configurationhelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:04:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:04:28 +0200
commit1d6cd0146e5e504665b0075311471109cdde52ea (patch)
tree2bfc4d9ec7bde6008a4dec9c4188d46ad7511fb6 /comphelper/source/misc/configurationhelper.cxx
parent5f5ccfc0a69de4c10b6adeeaaf284bcb07ab7f39 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I957be579527123be25abca0b7dcb69295711abf8
Diffstat (limited to 'comphelper/source/misc/configurationhelper.cxx')
-rw-r--r--comphelper/source/misc/configurationhelper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/comphelper/source/misc/configurationhelper.cxx b/comphelper/source/misc/configurationhelper.cxx
index b3f7472a1c57..1cf5baebc4fd 100644
--- a/comphelper/source/misc/configurationhelper.cxx
+++ b/comphelper/source/misc/configurationhelper.cxx
@@ -87,9 +87,9 @@ css::uno::Any ConfigurationHelper::readRelativeKey(const css::uno::Reference< cs
if (!xProps.is())
{
OUStringBuffer sMsg(256);
- sMsg.appendAscii("The requested path \"");
+ sMsg.append("The requested path \"");
sMsg.append (sRelPath );
- sMsg.appendAscii("\" does not exists." );
+ sMsg.append("\" does not exists." );
throw css::container::NoSuchElementException(
sMsg.makeStringAndClear());
@@ -110,9 +110,9 @@ void ConfigurationHelper::writeRelativeKey(const css::uno::Reference< css::uno::
if (!xProps.is())
{
OUStringBuffer sMsg(256);
- sMsg.appendAscii("The requested path \"");
+ sMsg.append("The requested path \"");
sMsg.append (sRelPath );
- sMsg.appendAscii("\" does not exists." );
+ sMsg.append("\" does not exists." );
throw css::container::NoSuchElementException(
sMsg.makeStringAndClear());
@@ -131,9 +131,9 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::makeSureSetNode
if (!xSet.is())
{
OUStringBuffer sMsg(256);
- sMsg.appendAscii("The requested path \"");
+ sMsg.append("The requested path \"");
sMsg.append (sRelPathToSet );
- sMsg.appendAscii("\" does not exists." );
+ sMsg.append("\" does not exists." );
throw css::container::NoSuchElementException(
sMsg.makeStringAndClear());