From 5a8d3471311de7a8ca9fba8ab8c29724d6e41fa5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 29 Oct 2020 16:34:21 +0100 Subject: 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 --- ucb/source/ucp/webdav/SerfSession.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source') 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 ); -- cgit v1.2.3