diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-13 11:26:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-13 11:26:12 +0000 |
commit | 342d3f45e2219a1cb1fd9dbf7c3f9636ad4ebca3 (patch) | |
tree | 9114c8962dad0016dbb66806cdddd1cf1bf8a329 /desktop | |
parent | d629547f4a592cbd7ca7802386448fc7128135cc (diff) |
loplugin:stringconstant
Change-Id: I80e034bc3718ddb9bb518073653e374133e6ab6f
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/dp_registry.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
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<deployment::XPackageRegistry> 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<deployment::XPackageRegistry> xBackend( that->m_mediaType2backend.find( iPos->second )->second ); allBackends.insert( xBackend ); @@ -408,7 +408,7 @@ Reference<deployment::XPackageRegistry> PackageRegistryImpl::create( buf.append( Reference<lang::XServiceInfo>( *iPos, UNO_QUERY_THROW )->getImplementationName() ); - buf.appendAscii( ": " ); + buf.append( ": " ); const Sequence< Reference<deployment::XPackageTypeInfo> > types( (*iPos)->getSupportedPackageTypes() ); for ( sal_Int32 pos = 0; pos < types.getLength(); ++pos ) { @@ -417,12 +417,12 @@ Reference<deployment::XPackageRegistry> 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"); } |