summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/hierarchy
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-07 17:20:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-30 13:59:46 +0100
commit48f2b7a7af3d4e9bf1b3c27e9aa5e12e60878051 (patch)
treec1491912ec67ffc609cab35a57efba756434a9ec /ucb/source/ucp/hierarchy
parentf96db7d0ddeb737cf0e14eea6120daab860c54b7 (diff)
fdo#46808, convert ucbhelper::ResultSet to XComponentContext
Along the way, remove the XMultiServiceFactory member from a few classes that were not using it. Change-Id: I9ee2c2ebc01144301ed8e489bd92b4695ff263d0
Diffstat (limited to 'ucb/source/ucp/hierarchy')
-rw-r--r--ucb/source/ucp/hierarchy/dynamicresultset.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/hierarchy/dynamicresultset.cxx b/ucb/source/ucp/hierarchy/dynamicresultset.cxx
index 92df5b97a205..bb7d735b84db 100644
--- a/ucb/source/ucp/hierarchy/dynamicresultset.cxx
+++ b/ucb/source/ucp/hierarchy/dynamicresultset.cxx
@@ -28,6 +28,7 @@
*************************************************************************/
#include "hierarchydatasupplier.hxx"
#include "dynamicresultset.hxx"
+#include <comphelper/processfactory.hxx>
using namespace com::sun::star;
using namespace hierarchy_ucp;
@@ -59,7 +60,7 @@ void DynamicResultSet::initStatic()
{
m_xResultSet1
= new ::ucbhelper::ResultSet(
- m_xSMgr,
+ comphelper::getComponentContext(m_xSMgr),
m_aCommand.Properties,
new HierarchyResultSetDataSupplier( m_xSMgr,
m_xContent,
@@ -71,7 +72,7 @@ void DynamicResultSet::initDynamic()
{
m_xResultSet1
= new ::ucbhelper::ResultSet(
- m_xSMgr,
+ comphelper::getComponentContext(m_xSMgr),
m_aCommand.Properties,
new HierarchyResultSetDataSupplier( m_xSMgr,
m_xContent,