diff options
Diffstat (limited to 'sal/qa/osl/socket/osl_Socket.cxx')
-rw-r--r-- | sal/qa/osl/socket/osl_Socket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/socket/osl_Socket.cxx b/sal/qa/osl/socket/osl_Socket.cxx index fac6c3128ebc..92c4a37691c0 100644 --- a/sal/qa/osl/socket/osl_Socket.cxx +++ b/sal/qa/osl/socket/osl_Socket.cxx @@ -1382,7 +1382,7 @@ namespace osl_SocketAddr // LLA: IMHO localhost, or hostname by itself should be ok. rtl::OUString suThisHost = getThisHostname( ); bool bOk = false; - if (suThisHost.equals(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("localhost")))) + if ( suThisHost == "localhost" ) { bOk = true; } |