summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-04 09:12:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-04 17:52:03 +0200
commit6f88d98d9a768c904b6813d36b43b4b894f0eb26 (patch)
tree2f31f3c18f4725bfa523f0741a98f10bd4fbc503 /ucb
parentbdfa446d2e79ca1d8f45e39ad4ee0bfc753ed553 (diff)
loplugin:cstylecast (--with-webdav=serf)
Change-Id: Ic8d62e4e8bad28a45fad28aa5a4e6e56e89e7bd3 Reviewed-on: https://gerrit.libreoffice.org/59963 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/SerfSession.cxx4
1 files changed, 2 insertions, 2 deletions
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 );
}