diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2015-12-03 15:48:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-15 08:12:24 +0000 |
commit | 9b9329e479615194dda0288d699263412e5c4f1d (patch) | |
tree | 54b89714921d1ce3435529f7c15961a0bc62284a | |
parent | 6e04d84df7b7b3d5edf903be3874894bec7d3aa4 (diff) |
Some WebDAV server answer without 'DAV:' XML namespace.
The call to assert() is not appropriate, better use a SAL_WARN_IF
instead.
The call to DAVProperties::createUCBPropName() method immediately
after will take care of the missing namespace.
The change to assert() was introduced in commit
dd9c15b36f69bec4d4fc9b0049f7e496e5eb9e9d
Change-Id: Ib9b85426fc84907fb12f70759a189cedcf117b3a
Reviewed-on: https://gerrit.libreoffice.org/20380
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx index 33ff51a6339a..ca73cd21d809 100644 --- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx +++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx @@ -109,7 +109,7 @@ extern "C" int NPFR_propfind_iter( void* userdata, DAVPropertyValue thePropertyValue; thePropertyValue.IsCaseSensitive = true; - assert( pname->nspace && "NPFR_propfind_iter - No namespace!" ); + SAL_WARN_IF( !pname->nspace, "ucb.ucp.webdav", "NPFR_propfind_iter - No XML namespace!" ); DAVProperties::createUCBPropName( pname->nspace, pname->name, |