summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpurl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/ftp/ftpurl.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 40c2872d6989..dd26810769c0 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -529,7 +529,7 @@ OUString FTPURL::net_title() const
if(err == CURLE_OK) { // get the title from the server
char* fwd = static_cast<char*>(control.m_pBuffer);
- sal_uInt32 len = (sal_uInt32) control.m_nWritePos;
+ sal_uInt32 len = control.m_nWritePos;
aNetTitle = OUString(fwd,len,RTL_TEXTENCODING_UTF8);
// the buffer now contains the name of the file;