From 342d3f45e2219a1cb1fd9dbf7c3f9636ad4ebca3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 13 Mar 2016 11:26:12 +0000 Subject: loplugin:stringconstant Change-Id: I80e034bc3718ddb9bb518073653e374133e6ab6f --- desktop/source/deployment/registry/dp_registry.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 6faba93a2b5b..8d203f63e372 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -386,11 +386,11 @@ Reference PackageRegistryImpl::create( iPos != that->m_filter2mediaType.end(); ++iPos ) { OUStringBuffer buf; - buf.appendAscii( "extension \"" ); + buf.append( "extension \"" ); buf.append( iPos->first ); - buf.appendAscii( "\" maps to media-type \"" ); + buf.append( "\" maps to media-type \"" ); buf.append( iPos->second ); - buf.appendAscii( "\" maps to backend " ); + buf.append( "\" maps to backend " ); const Reference xBackend( that->m_mediaType2backend.find( iPos->second )->second ); allBackends.insert( xBackend ); @@ -408,7 +408,7 @@ Reference PackageRegistryImpl::create( buf.append( Reference( *iPos, UNO_QUERY_THROW )->getImplementationName() ); - buf.appendAscii( ": " ); + buf.append( ": " ); const Sequence< Reference > types( (*iPos)->getSupportedPackageTypes() ); for ( sal_Int32 pos = 0; pos < types.getLength(); ++pos ) { @@ -417,12 +417,12 @@ Reference PackageRegistryImpl::create( buf.append( xInfo->getMediaType() ); const OUString filter( xInfo->getFileFilter() ); if (!filter.isEmpty()) { - buf.appendAscii( " (" ); + buf.append( " (" ); buf.append( filter ); - buf.appendAscii( ")" ); + buf.append( ")" ); } if (pos < (types.getLength() - 1)) - buf.appendAscii( ", " ); + buf.append( ", " ); } dp_misc::TRACE(buf.makeStringAndClear() + "\n\n"); } -- cgit v1.2.3