diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:37 +0200 |
commit | bcba4102b47b69527dc85caae3b3499ccc437870 (patch) | |
tree | cc6d354efaea7c3f9d6b752652a7c51b6814995c | |
parent | 36fe72f915c44ff026514352ff8378178f437e66 (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I50731912bb29ce7749d4765ca4866e08ce20994e
-rw-r--r-- | uui/source/iahndl-errorhandler.cxx | 2 | ||||
-rw-r--r-- | uui/source/iahndl.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 31dfe1e40370..481ed0e58579 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -51,7 +51,7 @@ executeErrorDialog( OUStringBuffer aText(rContext); if (!rContext.isEmpty() && !rMessage.isEmpty()) - aText.appendAscii(":\n"); + aText.append(":\n"); //TODO! must be internationalized aText.append(rMessage); diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 5a9ad912cd7b..4fa54a787aed 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -895,7 +895,7 @@ UUIInteractionHelper::getInteractionHandlerList( configuration::theDefaultProvider::get( m_xContext ); OUStringBuffer aFullPath; - aFullPath.appendAscii( + aFullPath.append( "/org.openoffice.ucb.InteractionHandler/InteractionHandlers" ); uno::Sequence< uno::Any > aArguments( 1 ); @@ -934,7 +934,7 @@ UUIInteractionHelper::getInteractionHandlerList( for ( sal_Int32 n = 0; n < nCount; ++n ) { OUStringBuffer aElemBuffer; - aElemBuffer.appendAscii( "['" ); + aElemBuffer.append( "['" ); aElemBuffer.append( pElems[ n ] ); try @@ -943,7 +943,7 @@ UUIInteractionHelper::getInteractionHandlerList( // Obtain service name. OUStringBuffer aKeyBuffer = aElemBuffer; - aKeyBuffer.appendAscii( "']/ServiceName" ); + aKeyBuffer.append( "']/ServiceName" ); OUString aValue; if ( !( xHierNameAccess->getByHierarchicalName( |