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

loplugin:stringconstant: OUStringBuffer: appendAscii -> append

Change-Id: If38423c29c7a9f4d740c244d350b83c471523797
üst 5e762746
...@@ -425,9 +425,9 @@ bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost, ...@@ -425,9 +425,9 @@ bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
( rHost[ 0 ] != '[' ) ) ( rHost[ 0 ] != '[' ) )
{ {
// host is given as numeric IPv6 address // host is given as numeric IPv6 address
aBuffer.appendAscii( "[" ); aBuffer.append( "[" );
aBuffer.append( rHost ); aBuffer.append( rHost );
aBuffer.appendAscii( "]" ); aBuffer.append( "]" );
} }
else else
{ {
...@@ -746,15 +746,15 @@ void InternetProxyDecider_Impl::setNoProxyList( ...@@ -746,15 +746,15 @@ void InternetProxyDecider_Impl::setNoProxyList(
{ {
if ( bIPv6Address ) if ( bIPv6Address )
{ {
aFullyQualifiedHost.appendAscii( "[" ); aFullyQualifiedHost.append( "[" );
aFullyQualifiedHost.append( aTmp ); aFullyQualifiedHost.append( aTmp );
aFullyQualifiedHost.appendAscii( "]" ); aFullyQualifiedHost.append( "]" );
} }
else else
{ {
aFullyQualifiedHost.append( aTmp ); aFullyQualifiedHost.append( aTmp );
} }
aFullyQualifiedHost.appendAscii( ":" ); aFullyQualifiedHost.append( ":" );
aFullyQualifiedHost.append( aPort ); aFullyQualifiedHost.append( aPort );
} }
} }
......
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