summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:12:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:12:46 +0100
commit8af176d7776938249f6e59dee3ed4f5c05edbebc (patch)
treef5f468ea916a9d52ed5796287759186f24cbec0a /ucb/source/ucp/webdav-neon
parentb7f0446d78923c46ab604ccaf48970a6b405ba5e (diff)
More loplugin:cstylecast: ucb
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I17a91ab6117f1d451fa8daec2a6f9542fc9ed2df
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index f9ccc0072c49..40bbb9d13568 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -456,7 +456,7 @@ extern "C" int NeonSession_CertificationNotify( void *userdata,
{
rtl::Reference< ucbhelper::SimpleCertificateValidationRequest >
xRequest( new ucbhelper::SimpleCertificateValidationRequest(
- (sal_Int32)certValidity, xEECert, pSession->getHostName() ) );
+ static_cast<sal_Int32>(certValidity), xEECert, pSession->getHostName() ) );
xIH->handle( xRequest.get() );
rtl::Reference< ucbhelper::InteractionContinuation > xSelection
@@ -1549,7 +1549,7 @@ void NeonSession::LOCK( const OUString & inPath,
}
// Set the lock timeout
- theLock->timeout = (long)rLock.Timeout;
+ theLock->timeout = static_cast<long>(rLock.Timeout);
// Set the lock owner
OUString aValue;