summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-02-06 22:59:42 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-04-02 14:22:28 +0200
commitdb4d09afca72328b3b1b7684416fc629f1e710be (patch)
tree651eaee81112b753a5519dde8d5298460499a048 /ucb
parent581392f79b9400d6ea17967ce6e386c0f9f1a7fc (diff)
webdav: fix cherry-pick commit 7056e8ef89e938e38fc5b2b8a7493f0c79d5efd4
(cherry picked from commit aa68e4c54952578fcf644f7a6df5174028a1412d) Conflicts: ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx Change-Id: I177daf0d4e22d96167ab094a5c9d5c9cab6cf409
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
index ea43d7c65d46..557a0e74983b 100644
--- a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
+++ b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
@@ -113,16 +113,14 @@ serf_bucket_t * SerfPropFindReqProcImpl::createSerfRequestBucket( serf_request_t
thePropName );
/* <*propname* xmlns="*propns*" /> */
- aBodyText += OUString::createFromAscii( "<" );
- aBodyText += OUString::createFromAscii( thePropName.name );
- aBodyText += OUString::createFromAscii( " xmlnx=\"" );
- aBodyText += OUString::createFromAscii( thePropName.nspace );
- aBodyText += OUString::createFromAscii( "\"/>" );
+ aBuffer.append( "<" );
+ aBuffer.append( thePropName.name );
+ aBuffer.append( " xmlnx=\"" );
+ aBuffer.append( thePropName.nspace );
+ aBuffer.append( "\"/>" );
}
- aBodyText = OUString::createFromAscii( "<prop>" ) +
- aBodyText +
- OUString::createFromAscii( "</prop>" );
+ aBuffer.append( "</prop>" );
}
else
{