Kaydet (Commit) 9b9329e4 authored tarafından Giuseppe Castagno's avatar Giuseppe Castagno Kaydeden (comit) Stephan Bergmann

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
dd9c15b3

Change-Id: Ib9b85426fc84907fb12f70759a189cedcf117b3a
Reviewed-on: https://gerrit.libreoffice.org/20380Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 6e04d84d
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment