From 2cf0f6ea36e1525193544258eef2828a54345510 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Nov 2012 08:16:06 +0200 Subject: fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactory Change-Id: Iea7b21621c5d341468976507684a9c01f0822034 --- xmlhelp/source/cxxhelp/provider/content.cxx | 4 ++-- xmlhelp/source/cxxhelp/provider/resultset.cxx | 4 ++-- xmlhelp/source/cxxhelp/provider/resultset.hxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xmlhelp/source') 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< -- cgit