summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2009-11-20 11:17:19 +0100
committerKai Sommerfeld <kso@openoffice.org>2009-11-20 11:17:19 +0100
commit59e3ba11894cf7b37dc50bea40d9d9ea6271b723 (patch)
tree46a665327bc7ab465d8502488774cb8da8619fe3 /ucb
parent64a894387f8ac48a6d0cab51167063905d0101c6 (diff)
#i106830# - Fixed Windows build breaker.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/NeonSession.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/NeonSession.cxx b/ucb/source/ucp/webdav/NeonSession.cxx
index c6cb528809..59471c6cf0 100644
--- a/ucb/source/ucp/webdav/NeonSession.cxx
+++ b/ucb/source/ucp/webdav/NeonSession.cxx
@@ -714,9 +714,14 @@ void NeonSession::Init()
// for more debug flags see ne_utils.h; NE_DEBUGGING must be defined
// while compiling neon in order to actually activate neon debug
// output.
- ne_debug_init( stderr,
- /*NE_DBG_HTTP | NE_DBG_XML | NE_DBG_XMLPARSE |*/
- NE_DBG_LOCKS | NE_DBG_FLUSH );
+ ne_debug_init( stderr, NE_DBG_FLUSH
+ | NE_DBG_HTTP
+ // | NE_DBG_HTTPBODY
+ // | NE_DBG_HTTPAUTH
+ // | NE_DBG_XML
+ // | NE_DBG_XMLPARSE
+ // | NE_DBG_LOCKS
+ );
#endif
m_bGlobalsInited = true;
}
@@ -1540,7 +1545,7 @@ sal_Int64 NeonSession::LOCK( const ::rtl::OUString & inPath,
Init( rEnv );
// refresh existing lock.
- theLock->timeout = nTimeout;
+ theLock->timeout = static_cast< long >( nTimeout );
TimeValue startCall;
osl_getSystemTime( &startCall );