summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpresultsetI.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-08 13:10:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-30 13:59:47 +0100
commit3d4288c1c0b593421c7f6619c88584bdb7c53337 (patch)
treef7f4e6e07007bed8c8b77758e61b61d9458cbc28 /ucb/source/ucp/ftp/ftpresultsetI.cxx
parent2cf0f6ea36e1525193544258eef2828a54345510 (diff)
fdo#46808, remove some more XMultiServiceFactory fields
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
Diffstat (limited to 'ucb/source/ucp/ftp/ftpresultsetI.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetI.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/ftp/ftpresultsetI.cxx b/ucb/source/ucp/ftp/ftpresultsetI.cxx
index 524a6148292b..e812fc139521 100644
--- a/ucb/source/ucp/ftp/ftpresultsetI.cxx
+++ b/ucb/source/ucp/ftp/ftpresultsetI.cxx
@@ -38,13 +38,13 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
-ResultSetI::ResultSetI(const Reference<XMultiServiceFactory>& xMSF,
+ResultSetI::ResultSetI(const Reference<XComponentContext>& rxContext,
const Reference<XContentProvider>& xProvider,
sal_Int32 nOpenMode,
const Sequence<Property>& seqProp,
const Sequence< NumberedSortingInfo >& seqSort,
const std::vector<FTPDirentry>& dirvec)
- : ResultSetBase(comphelper::getComponentContext(xMSF),xProvider,nOpenMode,seqProp,seqSort)
+ : ResultSetBase(rxContext,xProvider,nOpenMode,seqProp,seqSort)
{
for( unsigned int i = 0; i < dirvec.size(); ++i)
m_aPath.push_back(dirvec[i].m_aURL);
@@ -56,7 +56,7 @@ ResultSetI::ResultSetI(const Reference<XMultiServiceFactory>& xMSF,
for(unsigned n = 0; n < m_aItems.size(); ++n) {
rtl::Reference<ucbhelper::PropertyValueSet> xRow =
- new ucbhelper::PropertyValueSet(xMSF);
+ new ucbhelper::PropertyValueSet(rxContext);
for( int i = 0; i < seqProp.getLength(); ++i) {
const rtl::OUString& Name = seqProp[i].Name;