summaryrefslogtreecommitdiff
path: root/uui/source/requeststringresolver.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-04 11:20:21 +0200
committerNoel Grandin <noel@peralex.com>2013-01-09 08:08:15 +0200
commit77d215ae2ed9bd08444a5128729066b6025bef27 (patch)
tree581ee6dc7eaaedd2cea591f64cbed17e3da507ac /uui/source/requeststringresolver.cxx
parentfd5a2eb07011e8aedfd5ef0a82edaf07221554ba (diff)
fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContext
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
Diffstat (limited to 'uui/source/requeststringresolver.cxx')
-rw-r--r--uui/source/requeststringresolver.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/uui/source/requeststringresolver.cxx b/uui/source/requeststringresolver.cxx
index 35b87446065f..ea00c4d785d7 100644
--- a/uui/source/requeststringresolver.cxx
+++ b/uui/source/requeststringresolver.cxx
@@ -19,15 +19,15 @@
#include "requeststringresolver.hxx"
#include "iahndl.hxx"
+#include <comphelper/processfactory.hxx>
using namespace com::sun;
UUIInteractionRequestStringResolver::UUIInteractionRequestStringResolver(
- star::uno::Reference< star::lang::XMultiServiceFactory > const &
- rServiceFactory)
+ star::uno::Reference< star::uno::XComponentContext > const &
+ rxContext)
SAL_THROW(())
- : m_xServiceFactory(rServiceFactory),
- m_pImpl(new UUIInteractionHelper(rServiceFactory))
+ : m_pImpl(new UUIInteractionHelper(rxContext))
{
}
@@ -98,7 +98,7 @@ UUIInteractionRequestStringResolver::createInstance(
{
try
{
- return *new UUIInteractionRequestStringResolver(rServiceFactory);
+ return *new UUIInteractionRequestStringResolver(comphelper::getComponentContext(rServiceFactory));
}
catch (std::bad_alloc const &)
{