diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 5f9addf184f9..1dcc6eb7a090 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -796,15 +796,15 @@ void NeonSession::Init() // set the timeout (in seconds) used when making a connection sal_Int32 nConnectTimeout = officecfg::Inet::Settings::ConnectTimeout::get( rContext ); ne_set_connect_timeout( m_pHttpSession, - (int) ( std::max( nConnectTimeoutMin, - std::min( nConnectTimeout, nConnectTimeoutMax ) ) ) ); + std::max( nConnectTimeoutMin, + std::min( nConnectTimeout, nConnectTimeoutMax ) ) ); // provides a read time out facility as well // set the timeout (in seconds) used when reading from a socket. sal_Int32 nReadTimeout = officecfg::Inet::Settings::ReadTimeout::get( rContext ); ne_set_read_timeout( m_pHttpSession, - (int) ( std::max( nReadTimeoutMin, - std::min( nReadTimeout, nReadTimeoutMax ) ) ) ); + std::max( nReadTimeoutMin, + std::min( nReadTimeout, nReadTimeoutMax ) ) ); } } |