summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-23 17:42:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-23 17:49:05 +0200
commitab56ffe40c6ed9b0818791790f8756ee0bb312c2 (patch)
tree1f4d6c3f4042521fd6ebb356df9baecd2c593006
parent70679160ac50a867182633e2ec8efc7a45bf0ae1 (diff)
Related rhbz#961460: Fix regression around OUString::compareTo usage
...originally introduced with 8da928423add3fdb94baee2a3f3fa053390f828e "Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)," leading to "IsFolder" not being properly set in the WebDAV UCP, leading to failure when saving documents. Change-Id: Id2cc98582c9feffaa501a68069cd606fb420fd29 (cherry picked from commit aac817bca6951a42bfe6c8fbfd86163190f96997)
-rw-r--r--ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx2
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 0ec097c10c32..c5945f27600c 100644
--- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
@@ -135,7 +135,7 @@ extern "C" int NPFR_propfind_iter( void* userdata,
if ( !aValue.isEmpty() )
{
aValue = stripDavNamespace( aValue ).toAsciiLowerCase();
- if ( aValue == "<collection" )
+ if ( aValue.startsWith("<collection") )
{
thePropertyValue.Value
<<= OUString("collection");