Kaydet (Commit) c6e07ecc authored tarafından Szymon Kłos's avatar Szymon Kłos Kaydeden (comit) Szymon Kłos

WebDAV serf: crash fix on init

Change-Id: I418865f4552cb91c7e2ba47e6b73baf8ee0547a3
Reviewed-on: https://gerrit.libreoffice.org/68519Reviewed-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
Tested-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
üst 518234a8
...@@ -1120,7 +1120,7 @@ void SerfSession::abort() ...@@ -1120,7 +1120,7 @@ void SerfSession::abort()
} }
const ucbhelper::InternetProxyServer & SerfSession::getProxySettings() const const ucbhelper::InternetProxyServer SerfSession::getProxySettings() const
{ {
if ( m_aUri.GetScheme() == "http" || m_aUri.GetScheme() == "https" ) if ( m_aUri.GetScheme() == "http" || m_aUri.GetScheme() == "https" )
{ {
......
...@@ -236,7 +236,7 @@ private: ...@@ -236,7 +236,7 @@ private:
/// @throws DAVException /// @throws DAVException
void HandleError( std::shared_ptr<SerfRequestProcessor> rReqProc ); void HandleError( std::shared_ptr<SerfRequestProcessor> rReqProc );
const ucbhelper::InternetProxyServer & getProxySettings() const; const ucbhelper::InternetProxyServer getProxySettings() const;
static bool removeExpiredLocktoken( const OUString & inURL, static bool removeExpiredLocktoken( const OUString & inURL,
const DAVRequestEnvironment & rEnv ); const DAVRequestEnvironment & rEnv );
......
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