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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
index 0f961ecaac8e..0f28bcb3bc4e 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
@@ -154,7 +154,7 @@ FTPContentProvider::queryContent(
aURL.host(),
aURL.port().toInt32()))
{
- xContent = new FTPContent( Reference<XMultiServiceFactory>(m_xContext->getServiceManager(), UNO_QUERY_THROW), this,xCanonicId,aURL);
+ xContent = new FTPContent( m_xContext, this,xCanonicId,aURL);
registerNewContent(xContent);
}
else {