diff options
Diffstat (limited to 'ucb/source/ucp/ftp')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentprovider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentprovider.hxx | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 359259ac94ad..c74b0ae7cf10 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -212,7 +212,7 @@ CURL* FTPContentProvider::handle() } -bool FTPContentProvider::forHost( const OUString& host, +void FTPContentProvider::forHost( const OUString& host, const OUString& port, const OUString& username, OUString& password, @@ -226,10 +226,8 @@ bool FTPContentProvider::forHost( const OUString& host, { password = i.password; account = i.account; - return true; + return; } - - return false; } bool FTPContentProvider::setHost( const OUString& host, diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx index 8aa6e7dfcaea..f7ac598c69fc 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx @@ -80,7 +80,7 @@ namespace ftp /** host is in the form host:port. */ - bool forHost(const OUString& host, + void forHost(const OUString& host, const OUString& port, const OUString& username, OUString& password, |