From 2e142c0ee54744d35517f0b9c49a24302fb32d47 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 26 Jun 2018 14:39:49 +1000 Subject: tdf#114227: Add support for PAC to ucbhelper::InternetProxyDecider on Windows Change-Id: I62c76efb354949699615a44d9482df24e3eaa314 Reviewed-on: https://gerrit.libreoffice.org/56433 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 +- ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 40bbb9d13568..aac868e3d87a 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -1696,7 +1696,7 @@ void NeonSession::abort() SAL_INFO( "ucb.ucp.webdav", "neon commands cannot be aborted" ); } -const ucbhelper::InternetProxyServer & NeonSession::getProxySettings() const +ucbhelper::InternetProxyServer NeonSession::getProxySettings() const { if ( m_aScheme == "http" || m_aScheme == "https" ) { diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index ec080f1f0473..87026ad23ec4 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -219,7 +219,7 @@ private: const OUString & inPath, const DAVRequestEnvironment & rEnv ); - const ucbhelper::InternetProxyServer & getProxySettings() const; + ucbhelper::InternetProxyServer getProxySettings() const; bool removeExpiredLocktoken( const OUString & inURL, const DAVRequestEnvironment & rEnv ); -- cgit v1.2.3