diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-31 17:08:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-11 08:02:17 +0200 |
commit | 834dcf3acde06389d57bec64c2cd6cca8189c079 (patch) | |
tree | 6c58716fa151198b9c96e17b8f0dd18ab4df4aaa /package/inc/ZipPackage.hxx | |
parent | 5bef4dc30c3dc70bc4d4b2cfbd2d1f729d714dfe (diff) |
fdo#46808, Convert package module to XComponentContext
Change-Id: I1b322e57d27e16d177ffa87d3cd42a7d06f3dfab
Diffstat (limited to 'package/inc/ZipPackage.hxx')
-rw-r--r-- | package/inc/ZipPackage.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index c22976ec3e19..7aeb32f159cd 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -44,6 +44,7 @@ namespace com { namespace sun { namespace star { namespace container { class XNameContainer; } namespace io { class XStream; class XOutputStream; class XInputStream; class XSeekable; class XActiveDataStreamer; } namespace lang { class XMultiServiceFactory; } + namespace uno { class XComponentContext; } namespace task { class XInteractionHandler; } } } } enum SegmentEnum @@ -101,7 +102,7 @@ protected: ::com::sun::star::uno::Reference < com::sun::star::io::XStream > m_xStream; ::com::sun::star::uno::Reference < com::sun::star::io::XInputStream > m_xContentStream; ::com::sun::star::uno::Reference < com::sun::star::io::XSeekable > m_xContentSeek; - const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > m_xFactory; + const ::com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext; ZipPackageFolder *m_pRootFolder; ZipFile *m_pZipFile; @@ -122,7 +123,7 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xTempStream ); public: - ZipPackage( const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > &xNewFactory ); + ZipPackage( const ::com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > &xContext ); virtual ~ZipPackage( void ); ZipFile& getZipFile() { return *m_pZipFile;} sal_Int32 getFormat() const { return m_nFormat; } |