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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
index 7d9db3d8b582..f05ce18bf107 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
@@ -34,7 +34,7 @@
*************************************************************************/
#include <com/sun/star/ucb/UniversalContentBroker.hpp>
-#include <comphelper/componentcontext.hxx>
+#include <comphelper/processfactory.hxx>
#include <osl/socket.hxx>
#include "ftpcontentprovider.hxx"
#include "ftpcontent.hxx"
@@ -261,7 +261,7 @@ FTPContentProvider::getHttpProvider()
// used for access to ftp-proxy
return
UniversalContentBroker::create(
- comphelper::ComponentContext(m_xSMgr).getUNOContext())->
+ comphelper::getComponentContext(m_xSMgr))->
queryContentProvider("http:");
}