summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2013-05-13 16:14:52 -0300
committerLuboš Luňák <l.lunak@suse.cz>2013-05-15 15:58:17 +0200
commit8a9448aabcee0171b0dc3b0401600de09455fb10 (patch)
tree200f609afeab42dd1281833607ae5f4fedf9dcee /linguistic
parent8d08ba5e7530580afd61930bfc00ae513962b754 (diff)
String.AppendAscii Drop
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/misc2.cxx9
-rw-r--r--linguistic/workben/sspellimp.cxx6
2 files changed, 6 insertions, 9 deletions
diff --git a/linguistic/source/misc2.cxx b/linguistic/source/misc2.cxx
index d3ed5504a06a..eab239de6f03 100644
--- a/linguistic/source/misc2.cxx
+++ b/linguistic/source/misc2.cxx
@@ -73,12 +73,9 @@ static uno::Sequence< OUString > GetMultiPaths_Impl(
uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
try
{
- String aInternal( rPathPrefix );
- String aUser( rPathPrefix );
- String aWriteable( rPathPrefix );
- aInternal .AppendAscii( "_internal" );
- aUser .AppendAscii( "_user" );
- aWriteable.AppendAscii( "_writable" );
+ OUString aInternal( rPathPrefix + "_internal" );
+ OUString aUser( rPathPrefix + "_user" );
+ OUString aWriteable( rPathPrefix + "_writable" );
uno::Reference< util::XPathSettings > xPathSettings =
util::PathSettings::create( xContext );
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index 91a18a3e0478..775c2fab20de 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -450,9 +450,9 @@ sal_Bool SAL_CALL SpellChecker_writeInfo(
{
try
{
- String aImpl( '/' );
- aImpl += SpellChecker::getImplementationName_Static().getStr();
- aImpl.AppendAscii( "/UNO/SERVICES" );
+ OUString aImpl( "/" + SpellChecker::getImplementationName_Static().getStr() +
+ "/UNO/SERVICES" );
+
Reference< registry::XRegistryKey > xNewKey =
pRegistryKey->createKey( aImpl );
Sequence< OUString > aServices =