summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/SerfSession.cxx2
-rw-r--r--ucb/source/ucp/webdav/SerfSession.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx
index 41e30b823e96..a8be54cdc052 100644
--- a/ucb/source/ucp/webdav/SerfSession.cxx
+++ b/ucb/source/ucp/webdav/SerfSession.cxx
@@ -1121,7 +1121,7 @@ void SerfSession::abort()
}
-const ucbhelper::InternetProxyServer & SerfSession::getProxySettings() const
+ucbhelper::InternetProxyServer SerfSession::getProxySettings() const
{
if ( m_aUri.GetScheme() == "http" || m_aUri.GetScheme() == "https" )
{
diff --git a/ucb/source/ucp/webdav/SerfSession.hxx b/ucb/source/ucp/webdav/SerfSession.hxx
index 3e162258117c..8c2a14439358 100644
--- a/ucb/source/ucp/webdav/SerfSession.hxx
+++ b/ucb/source/ucp/webdav/SerfSession.hxx
@@ -236,7 +236,7 @@ private:
/// @throws DAVException
void HandleError( std::shared_ptr<SerfRequestProcessor> rReqProc );
- const ucbhelper::InternetProxyServer & getProxySettings() const;
+ ucbhelper::InternetProxyServer getProxySettings() const;
static bool removeExpiredLocktoken( const OUString & inURL,
const DAVRequestEnvironment & rEnv );