summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
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);