Kaydet (Commit) 760a7791 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in io

Change-Id: I8be28fa2ed1e005c76eafc60746620338c8a49ac
Reviewed-on: https://gerrit.libreoffice.org/40291Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e5ee2973
......@@ -674,8 +674,6 @@ include/vcl/opengl/OpenGLContext.hxx:57
OpenGLCapabilitySwitch mbLimitedShaderRegisters _Bool
include/xmloff/nmspmap.hxx:70
SvXMLNamespaceMap sEmpty const class rtl::OUString
io/source/acceptor/acc_socket.cxx:89
io_acceptor::SocketConnection m_addr ::osl::SocketAddr
jvmfwk/plugins/sunmajor/pluginlib/util.cxx:251
jfw_plugin::FileHandleReader m_aBuffer sal_Char [1024]
libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:50
......
......@@ -86,7 +86,6 @@ namespace io_acceptor {
void completeConnectionString();
::osl::StreamSocket m_socket;
::osl::SocketAddr m_addr;
oslInterlockedCount m_nStatus;
OUString m_sDescription;
......@@ -350,7 +349,9 @@ namespace io_acceptor {
}
pConn->completeConnectionString();
OUString remoteHostname = pConn->m_addr.getHostname();
::osl::SocketAddr remoteAddr;
pConn->m_socket.getPeerAddr(remoteAddr);
OUString remoteHostname = remoteAddr.getHostname();
// we enable tcpNoDelay for loopback connections because
// it can make a significant speed difference on linux boxes.
if( m_bTcpNoDelay || remoteHostname == "localhost" ||
......
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