[Libreoffice-commits] core.git: ucb/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 29 19:02:11 UTC 2020
ucb/source/ucp/webdav/SerfSession.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5a8d3471311de7a8ca9fba8ab8c29724d6e41fa5
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Oct 29 16:34:21 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Oct 29 20:01:29 2020 +0100
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 at redhat.com>
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 );
More information about the Libreoffice-commits
mailing list