Kaydet (Commit) bcba4102 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: OUStringBuffer: appendAscii -> append

Change-Id: I50731912bb29ce7749d4765ca4866e08ce20994e
üst 36fe72f9
...@@ -51,7 +51,7 @@ executeErrorDialog( ...@@ -51,7 +51,7 @@ executeErrorDialog(
OUStringBuffer aText(rContext); OUStringBuffer aText(rContext);
if (!rContext.isEmpty() && !rMessage.isEmpty()) if (!rContext.isEmpty() && !rMessage.isEmpty())
aText.appendAscii(":\n"); aText.append(":\n");
//TODO! must be internationalized //TODO! must be internationalized
aText.append(rMessage); aText.append(rMessage);
......
...@@ -895,7 +895,7 @@ UUIInteractionHelper::getInteractionHandlerList( ...@@ -895,7 +895,7 @@ UUIInteractionHelper::getInteractionHandlerList(
configuration::theDefaultProvider::get( m_xContext ); configuration::theDefaultProvider::get( m_xContext );
OUStringBuffer aFullPath; OUStringBuffer aFullPath;
aFullPath.appendAscii( aFullPath.append(
"/org.openoffice.ucb.InteractionHandler/InteractionHandlers" ); "/org.openoffice.ucb.InteractionHandler/InteractionHandlers" );
uno::Sequence< uno::Any > aArguments( 1 ); uno::Sequence< uno::Any > aArguments( 1 );
...@@ -934,7 +934,7 @@ UUIInteractionHelper::getInteractionHandlerList( ...@@ -934,7 +934,7 @@ UUIInteractionHelper::getInteractionHandlerList(
for ( sal_Int32 n = 0; n < nCount; ++n ) for ( sal_Int32 n = 0; n < nCount; ++n )
{ {
OUStringBuffer aElemBuffer; OUStringBuffer aElemBuffer;
aElemBuffer.appendAscii( "['" ); aElemBuffer.append( "['" );
aElemBuffer.append( pElems[ n ] ); aElemBuffer.append( pElems[ n ] );
try try
...@@ -943,7 +943,7 @@ UUIInteractionHelper::getInteractionHandlerList( ...@@ -943,7 +943,7 @@ UUIInteractionHelper::getInteractionHandlerList(
// Obtain service name. // Obtain service name.
OUStringBuffer aKeyBuffer = aElemBuffer; OUStringBuffer aKeyBuffer = aElemBuffer;
aKeyBuffer.appendAscii( "']/ServiceName" ); aKeyBuffer.append( "']/ServiceName" );
OUString aValue; OUString aValue;
if ( !( xHierNameAccess->getByHierarchicalName( if ( !( xHierNameAccess->getByHierarchicalName(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment