summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontentprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontentprovider.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontentprovider.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
index cb67852db987..fb5db74b2244 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
@@ -209,8 +209,7 @@ Reference<XContent> SAL_CALL FTPContentProvider::queryContent(
registerNewContent(xContent);
}
else {
- Reference<XContentProvider>
- xProvider(getHttpProvider());
+ Reference<XContentProvider> xProvider(UniversalContentBroker::create( m_xContext )->queryContentProvider("http:"));
if(xProvider.is())
return xProvider->queryContent(xCanonicId);
else
@@ -288,12 +287,4 @@ bool FTPContentProvider::setHost( const OUString& host,
return !present;
}
-
-Reference<XContentProvider> FTPContentProvider::getHttpProvider()
- throw(RuntimeException)
-{
- // used for access to ftp-proxy
- return UniversalContentBroker::create( m_xContext )->queryContentProvider("http:");
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */