summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavresponseparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/webdavresponseparser.cxx')
-rw-r--r--ucb/source/ucp/webdav/webdavresponseparser.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx
index f513f1eb5c83..95a451b72eac 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx
@@ -230,7 +230,7 @@ namespace
void WebDAVContext::splitName(const OUString& rSource)
{
const sal_Int32 nLen(rSource.getLength());
- maNamespace = "";
+ maNamespace.clear();
maName = rSource;
if(nLen)
@@ -457,7 +457,8 @@ namespace
case WebDAVName_response:
{
// response start, reset Href and status and maResponseProperties
- maHref = maStatus = "";
+ maHref.clear();
+ maStatus.clear();
if(isCollectingProperties())
{
@@ -807,7 +808,7 @@ namespace
if(aNew.getLength())
{
// add one char when appending (see html1.1 spec)
- aNew += OUString(' ');
+ aNew += " ";
}
aNew += aTrimmedChars;