diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-04 13:20:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 10:14:43 +0200 |
commit | a6a8a8707b6ae111f94bac094d3c2909f523ca6f (patch) | |
tree | 402b668480b3106df0d3055cff037c8a768a419c /xmloff/inc | |
parent | f1204419af34b1d2f0ecaa69ceeb1f8c8a7d87df (diff) |
fdo#46808, convert xmloff module code to use XComponentContext
with lots of repurcussions in other modules
Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/MetaImportComponent.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/SchXMLImport.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/xmloff/xmlimp.hxx | 9 | ||||
-rw-r--r-- | xmloff/inc/xmlversion.hxx | 3 |
4 files changed, 5 insertions, 11 deletions
diff --git a/xmloff/inc/MetaImportComponent.hxx b/xmloff/inc/MetaImportComponent.hxx index 95934af06c3a..27568e9cf19f 100644 --- a/xmloff/inc/MetaImportComponent.hxx +++ b/xmloff/inc/MetaImportComponent.hxx @@ -36,7 +36,7 @@ public: // #110680# // XMLMetaImportComponent() throw(); XMLMetaImportComponent( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) throw(); virtual ~XMLMetaImportComponent() throw(); diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index f7ec314d2337..ad9efe967d27 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.hxx @@ -165,7 +165,7 @@ protected: public: // #110680# SchXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, sal_uInt16 nImportFlags = IMPORT_ALL ); virtual ~SchXMLImport() throw (); diff --git a/xmloff/inc/xmloff/xmlimp.hxx b/xmloff/inc/xmloff/xmlimp.hxx index 7e6381a867ad..24f1f9799c11 100644 --- a/xmloff/inc/xmloff/xmlimp.hxx +++ b/xmloff/inc/xmloff/xmlimp.hxx @@ -39,6 +39,7 @@ #include <com/sun/star/document/XGraphicObjectResolver.hpp> #include <com/sun/star/document/XEmbeddedObjectResolver.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/weak.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/shapeimport.hxx> @@ -50,7 +51,6 @@ #include <com/sun/star/beans/NamedValue.hpp> namespace com { namespace sun { namespace star { - namespace uno { class XComponentContext; } namespace frame { class XModel; } namespace io { class XOutputStream; } namespace rdf { class XMetadatable; } @@ -140,8 +140,6 @@ class XMLOFF_DLLPUBLIC SvXMLImport : public ::cppu::WeakImplHelper6< sal_uInt16 mnErrorFlags; protected: - // #110680# - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxServiceFactory; ::com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > mxStatusIndicator; sal_Bool mbIsFormsSupported; @@ -184,7 +182,7 @@ public: // #110680# // SvXMLImport( sal_uInt16 nImportFlags = IMPORT_ALL ) throw(); SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, sal_uInt16 nImportFlags = IMPORT_ALL ) throw(); virtual ~SvXMLImport() throw(); @@ -372,9 +370,6 @@ public: ::comphelper::UnoInterfaceToUniqueIdentifierMapper& getInterfaceToIdentifierMapper(); - // #110680# - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getServiceFactory(); - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > GetComponentContext() const; diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx index 6c116edd4a8a..1d7595e89e62 100644 --- a/xmloff/inc/xmlversion.hxx +++ b/xmloff/inc/xmlversion.hxx @@ -68,9 +68,8 @@ protected: public: - // #110897# XMLVersionListImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >& rVersions ); ~XMLVersionListImport() throw(); |