diff options
Diffstat (limited to 'extensions/source/propctrlr/unourl.cxx')
-rw-r--r-- | extensions/source/propctrlr/unourl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/unourl.cxx b/extensions/source/propctrlr/unourl.cxx index b0c02f7861c4..0ab9711d5924 100644 --- a/extensions/source/propctrlr/unourl.cxx +++ b/extensions/source/propctrlr/unourl.cxx @@ -29,7 +29,7 @@ #include "unourl.hxx" #include <com/sun/star/util/URLTransformer.hpp> #include <com/sun/star/util/XURLTransformer.hpp> -#include <comphelper/componentcontext.hxx> +#include <comphelper/processfactory.hxx> //........................................................................ namespace pcr @@ -53,7 +53,7 @@ namespace pcr { if ( _rxORB.is() ) { - xTransform.set( URLTransformer::create(comphelper::ComponentContext(_rxORB).getUNOContext()) ); + xTransform.set( URLTransformer::create(comphelper::getComponentContext(_rxORB)) ); OSL_ENSURE( xTransform.is(), "UnoURL::UnoURL: could not create an URL transformer!" ); if ( xTransform.is() ) xTransform->parseStrict( m_aURL ); |