diff options
Diffstat (limited to 'filter/source/xsltfilter/XSLTFilter.cxx')
-rw-r--r-- | filter/source/xsltfilter/XSLTFilter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 4ebabc7846c4..a5b28d571c9b 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -41,8 +41,8 @@ #include <rtl/strbuf.hxx> #include <tools/urlobj.hxx> -#include <comphelper/componentcontext.hxx> #include <comphelper/interaction.hxx> +#include <comphelper/processfactory.hxx> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/EventObject.hpp> @@ -247,7 +247,7 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False) XSLTFilter::rel2abs(const OUString& s) { - css::uno::Reference< css::uno::XComponentContext > xContext( comphelper::ComponentContext(m_rServiceFactory).getUNOContext() ); + css::uno::Reference< css::uno::XComponentContext > xContext( comphelper::getComponentContext(m_rServiceFactory) ); css::uno::Reference<XStringSubstitution> subs(css::util::PathSubstitution::create(xContext)); OUString aWorkingDir(subs->getSubstituteVariableValue(OUString( "$(progurl)"))); @@ -344,7 +344,7 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False) // create pipe css::uno::Reference<XOutputStream> pipeout( - Pipe::create(comphelper::ComponentContext(m_rServiceFactory).getUNOContext()), + Pipe::create(comphelper::getComponentContext(m_rServiceFactory)), UNO_QUERY); css::uno::Reference<XInputStream> pipein(pipeout, UNO_QUERY); @@ -497,7 +497,7 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False) // create pipe css::uno::Reference<XOutputStream> pipeout( - Pipe::create(comphelper::ComponentContext(m_rServiceFactory).getUNOContext()), + Pipe::create(comphelper::getComponentContext(m_rServiceFactory)), UNO_QUERY); css::uno::Reference<XInputStream> pipein(pipeout, UNO_QUERY); |