summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-08 08:16:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-30 13:59:47 +0100
commit2cf0f6ea36e1525193544258eef2828a54345510 (patch)
treeb1033cc7f7ef1061bc16baa8a52480ced38e8b55 /xmlhelp
parent48f2b7a7af3d4e9bf1b3c27e9aa5e12e60878051 (diff)
fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactory
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/content.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultset.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultset.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx
index fa9d00a46848..6b30490cbc7d 100644
--- a/xmlhelp/source/cxxhelp/provider/content.cxx
+++ b/xmlhelp/source/cxxhelp/provider/content.cxx
@@ -388,7 +388,7 @@ uno::Any SAL_CALL Content::execute(
{
uno::Reference< ucb::XDynamicResultSet > xSet
= new DynamicResultSet(
- m_xSMgr,
+ comphelper::getComponentContext(m_xSMgr),
this,
aOpenCommand,
Environment,
@@ -406,7 +406,7 @@ uno::Any SAL_CALL Content::execute(
{
uno::Reference< ucb::XDynamicResultSet > xSet
= new DynamicResultSet(
- m_xSMgr,
+ comphelper::getComponentContext(m_xSMgr),
this,
aOpenCommand,
Environment,
diff --git a/xmlhelp/source/cxxhelp/provider/resultset.cxx b/xmlhelp/source/cxxhelp/provider/resultset.cxx
index 640397a571d8..64524eba9367 100644
--- a/xmlhelp/source/cxxhelp/provider/resultset.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultset.cxx
@@ -39,12 +39,12 @@ using namespace chelp;
//=========================================================================
DynamicResultSet::DynamicResultSet(
- const Reference< XMultiServiceFactory >& rxSMgr,
+ const Reference< XComponentContext >& rxContext,
const rtl::Reference< Content >& rxContent,
const OpenCommandArgument2& rCommand,
const Reference< XCommandEnvironment >& rxEnv,
ResultSetFactory* pFactory )
- : ResultSetImplHelper( rxSMgr, rCommand ),
+ : ResultSetImplHelper( rxContext, rCommand ),
m_xContent( rxContent ),
m_xEnv( rxEnv ),
m_pFactory( pFactory )
diff --git a/xmlhelp/source/cxxhelp/provider/resultset.hxx b/xmlhelp/source/cxxhelp/provider/resultset.hxx
index 7afaf7c12a15..c5f86b833dc1 100644
--- a/xmlhelp/source/cxxhelp/provider/resultset.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultset.hxx
@@ -43,7 +43,7 @@ namespace chelp {
public:
DynamicResultSet(
const com::sun::star::uno::Reference<
- com::sun::star::lang::XMultiServiceFactory >& rxSMgr,
+ com::sun::star::uno::XComponentContext >& rxContext,
const rtl::Reference< Content >& rxContent,
const com::sun::star::ucb::OpenCommandArgument2& rCommand,
const com::sun::star::uno::Reference<