From 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 10:54:12 +0200 Subject: remove unnecessary double calls to OUString constructor Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058 --- ucb/source/ucp/ftp/ftpurl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ucb') 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); -- cgit