summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/sfxurlrelocator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/inc/sfxurlrelocator.hxx')
-rw-r--r--sfx2/source/inc/sfxurlrelocator.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/inc/sfxurlrelocator.hxx b/sfx2/source/inc/sfxurlrelocator.hxx
index 031ca663bb7b..1406d60e9cf8 100644
--- a/sfx2/source/inc/sfxurlrelocator.hxx
+++ b/sfx2/source/inc/sfxurlrelocator.hxx
@@ -20,7 +20,6 @@
#ifndef _SFX_SFXURLRELOCATOR_HXX_
#define _SFX_SFXURLRELOCATOR_HXX_
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XOfficeInstallationDirectories.hpp>
#include <com/sun/star/util/XMacroExpander.hpp>
@@ -30,7 +29,7 @@
class SfxURLRelocator_Impl
{
::osl::Mutex maMutex;
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxFactory;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > mxContext;
::com::sun::star::uno::Reference< ::com::sun::star::util::XOfficeInstallationDirectories > mxOfficeInstDirs;
::com::sun::star::uno::Reference< ::com::sun::star::util::XMacroExpander > mxMacroExpander;
@@ -40,7 +39,7 @@ public:
void makeRelocatableURL( rtl::OUString & rURL );
void makeAbsoluteURL( rtl::OUString & rURL );
- SfxURLRelocator_Impl( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory );
+ SfxURLRelocator_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext );
~SfxURLRelocator_Impl();
private: