summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-10-29 16:34:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-10-29 20:01:29 +0100
commit5a8d3471311de7a8ca9fba8ab8c29724d6e41fa5 (patch)
tree83ecfb778935a475e7ce8fa8482dbb1d74becf6d /ucb
parentd11e6edec3116f647fa085a297e29c677f5b8662 (diff)
Revert questionable tools::Long in commented-out code
If it were not commented out, it should presumably stay `long` for similar reasons as the corresponding 13c0326d237cb4860b121ceba8ecb04fe96ae479 "ne_lock::timeout is of type long, so keep using that here" in ucb/source/ucp/webdav-neon/NeonSession.cxx. Change-Id: I2fee057887b6aaceab158edb6b09cc514249061f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105014 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/SerfSession.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx
index 2b993d5fd4a8..8f7a7e38c754 100644
--- a/ucb/source/ucp/webdav/SerfSession.cxx
+++ b/ucb/source/ucp/webdav/SerfSession.cxx
@@ -1017,7 +1017,7 @@ sal_Int64 SerfSession::LOCK( const OUString & /*inPath*/,
Init( rEnv );
// refresh existing lock.
- theLock->timeout = static_cast< tools::Long >( nTimeout );
+ theLock->timeout = static_cast< long >( nTimeout );
TimeValue startCall;
osl_getSystemTime( &startCall );