summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-13 10:54:12 +0200
committerNoel Grandin <noel@peralex.com>2013-12-17 11:49:04 +0200
commit909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch)
tree2d17bbce7f9fa40fca140696648ec136a12f63d1 /ucb
parent08fe82e59cbc598d2683d72877653316c1e41962 (diff)
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 5ad33cc85dc3..b8b06f0d4721 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -165,8 +165,7 @@ void FTPURL::parse(const OUString& url)
*p1++ = ch;
*p1 = 0;
- OUString aExpr(OUString(buffer,strlen(buffer),
- RTL_TEXTENCODING_UTF8));
+ OUString aExpr(buffer, strlen(buffer), RTL_TEXTENCODING_UTF8);
sal_Int32 l = aExpr.indexOf('@');
m_aHost = aExpr.copy(1+l);