summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/webdav/NeonHeadRequest.cxx6
-rw-r--r--ucb/source/ucp/webdav/NeonPropFindRequest.cxx2
-rw-r--r--ucb/source/ucp/webdav/NeonSession.cxx6
-rw-r--r--ucb/source/ucp/webdav/webdavcontentcaps.cxx1
4 files changed, 8 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav/NeonHeadRequest.cxx b/ucb/source/ucp/webdav/NeonHeadRequest.cxx
index 3664b22590ec..e81c8e33b24a 100644
--- a/ucb/source/ucp/webdav/NeonHeadRequest.cxx
+++ b/ucb/source/ucp/webdav/NeonHeadRequest.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: NeonHeadRequest.cxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -66,7 +66,7 @@ void process_headers(ne_request *req,
while ( it != end )
{
- if ( (*it).equalsIgnoreAsciiCase(aHeaderName) )
+ if ( (*it) == aHeaderName )
break;
++it;
@@ -126,7 +126,7 @@ extern "C" void NHR_ResponseHeaderCatcher( void * userdata,
while ( it != end )
{
- if ( (*it).equalsIgnoreAsciiCase(aHeaderName) )
+ if ( (*it) == aHeaderName )
break;
++it;
diff --git a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
index 218b499316a2..87e96240e694 100644
--- a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
+++ b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
@@ -104,7 +104,7 @@ extern "C" int NPFR_propfind_iter( void* userdata,
{
aValue = aValue.toAsciiLowerCase();
if ( aValue.compareTo(
- RTL_CONSTASCII_STRINGPARAM( "<collection" ) ) == 0 )
+ RTL_CONSTASCII_STRINGPARAM( "<dav:collection" ) ) == 0 )
{
thePropertyValue.Value
<<= OUString::createFromAscii( "collection" );
diff --git a/ucb/source/ucp/webdav/NeonSession.cxx b/ucb/source/ucp/webdav/NeonSession.cxx
index 7496503edc2d..165824a44c93 100644
--- a/ucb/source/ucp/webdav/NeonSession.cxx
+++ b/ucb/source/ucp/webdav/NeonSession.cxx
@@ -767,8 +767,10 @@ void NeonSession::Init()
// Note: Calling ne_set_[server|proxy]_auth more than once per
// m_pHttpSession instance sometimes(?) crashes Neon! ( last
// checked: 0.22.0)
- ne_set_server_auth( m_pHttpSession, NeonSession_NeonAuth, this );
- ne_set_proxy_auth ( m_pHttpSession, NeonSession_NeonAuth, this );
+ //ne_set_server_auth( m_pHttpSession, NeonSession_NeonAuth, this );
+ ne_add_server_auth( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
+ //ne_set_proxy_auth ( m_pHttpSession, NeonSession_NeonAuth, this );
+ ne_add_proxy_auth ( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
}
}
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
index 5b7866ca9c9b..305d509b4e2c 100644
--- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx
+++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
@@ -335,7 +335,6 @@ uno::Sequence< beans::Property > Content::getProperties(
// we used a depth of DAVZERO for PROPFIND.
aPropSet.insert( (*props.begin()).properties.begin(),
(*props.begin()).properties.end() );
-
}
catch ( DAVException const & )
{