[Libreoffice-commits] core.git: ucb/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 4 15:52:24 UTC 2018
ucb/source/ucp/webdav/SerfSession.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6f88d98d9a768c904b6813d36b43b4b894f0eb26
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Sep 4 09:12:13 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Sep 4 17:52:03 2018 +0200
loplugin:cstylecast (--with-webdav=serf)
Change-Id: Ic8d62e4e8bad28a45fad28aa5a4e6e56e89e7bd3
Reviewed-on: https://gerrit.libreoffice.org/59963
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx
index a8be54cdc052..51a29a7445bf 100644
--- a/ucb/source/ucp/webdav/SerfSession.cxx
+++ b/ucb/source/ucp/webdav/SerfSession.cxx
@@ -615,7 +615,7 @@ void SerfSession::PROPFIND( const OUString & inPath,
ioResources.empty() )
{
m_aEnv = DAVRequestEnvironment();
- throw DAVException( DAVException::DAV_HTTP_ERROR, inPath, (sal_uInt16)APR_EGENERAL );
+ throw DAVException( DAVException::DAV_HTTP_ERROR, inPath, APR_EGENERAL );
}
HandleError( aReqProc );
}
@@ -643,7 +643,7 @@ void SerfSession::PROPFIND( const OUString & inPath,
ioResInfo.empty() )
{
m_aEnv = DAVRequestEnvironment();
- throw DAVException( DAVException::DAV_HTTP_ERROR, inPath, (sal_uInt16)APR_EGENERAL );
+ throw DAVException( DAVException::DAV_HTTP_ERROR, inPath, APR_EGENERAL );
}
HandleError( aReqProc );
}
More information about the Libreoffice-commits
mailing list