diff options
Diffstat (limited to 'ucb/source/ucp/webdav/NeonUri.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/NeonUri.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ucb/source/ucp/webdav/NeonUri.cxx b/ucb/source/ucp/webdav/NeonUri.cxx index 6acfb4e51bf1..897e8a6e9c3a 100644 --- a/ucb/source/ucp/webdav/NeonUri.cxx +++ b/ucb/source/ucp/webdav/NeonUri.cxx @@ -221,18 +221,15 @@ void NeonUri::calculateURI () switch ( mPort ) { case DEFAULT_HTTP_PORT: - bAppendPort - = !mScheme.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "http" ) ); + bAppendPort = mScheme != "http"; break; case DEFAULT_HTTPS_PORT: - bAppendPort - = !mScheme.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "https" ) ); + bAppendPort = mScheme != "https"; break; case DEFAULT_FTP_PORT: - bAppendPort - = !mScheme.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ftp" ) ); + bAppendPort = mScheme != "ftp"; break; } if ( bAppendPort ) |