diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-13 08:52:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 11:13:24 +0100 |
commit | 24cad6a6490b245bd88ec3e3c87195628914f6a2 (patch) | |
tree | 12d9e7ec629054f5ad0a6990783d3e639449afeb /include/oox | |
parent | 8061c8c70b7ffcd8f472d2f5b909911f2095fec7 (diff) |
Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally.
Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/core/filterbase.hxx | 10 | ||||
-rw-r--r-- | include/oox/core/filterdetect.hxx | 4 | ||||
-rw-r--r-- | include/oox/core/xmlfilterbase.hxx | 6 |
3 files changed, 11 insertions, 9 deletions
diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx index 8d1836f9ce6f..6280f9d0001c 100644 --- a/include/oox/core/filterbase.hxx +++ b/include/oox/core/filterbase.hxx @@ -55,6 +55,8 @@ namespace com { namespace sun { namespace star { namespace comphelper { class IDocPasswordVerifier; +} +namespace utl { class MediaDescriptor; } @@ -141,7 +143,7 @@ public: ::comphelper::SequenceAsHashMap& getFilterData() const; /** Returns the media descriptor. */ - ::comphelper::MediaDescriptor& getMediaDescriptor() const; + utl::MediaDescriptor& getMediaDescriptor() const; /** Returns the URL of the imported or exported file. */ const OUString& getFileUrl() const; @@ -253,11 +255,11 @@ public: // ------------------------------------------------------------------------ protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > - implGetInputStream( ::comphelper::MediaDescriptor& rMediaDesc ) const; + implGetInputStream( utl::MediaDescriptor& rMediaDesc ) const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > - implGetOutputStream( ::comphelper::MediaDescriptor& rMediaDesc ) const; + implGetOutputStream( utl::MediaDescriptor& rMediaDesc ) const; - virtual bool implFinalizeExport( ::comphelper::MediaDescriptor& rMediaDescriptor ); + virtual bool implFinalizeExport( utl::MediaDescriptor& rMediaDescriptor ); ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > getMainDocumentStream( ) const; diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx index c3379a340c6a..4caaaf7a1316 100644 --- a/include/oox/core/filterdetect.hxx +++ b/include/oox/core/filterdetect.hxx @@ -33,7 +33,7 @@ namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } -namespace comphelper { class MediaDescriptor; } +namespace utl { class MediaDescriptor; } namespace oox { class AttributeList; } @@ -118,7 +118,7 @@ public: its input stream is returned. */ ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > - extractUnencryptedPackage( ::comphelper::MediaDescriptor& rMediaDesc ) const; + extractUnencryptedPackage( utl::MediaDescriptor& rMediaDesc ) const; // com.sun.star.lang.XServiceInfo interface ------------------------------- diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx index 648b50da97aa..87234fb22328 100644 --- a/include/oox/core/xmlfilterbase.hxx +++ b/include/oox/core/xmlfilterbase.hxx @@ -233,12 +233,12 @@ public: protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > - implGetInputStream( ::comphelper::MediaDescriptor& rMediaDesc ) const; + implGetInputStream( utl::MediaDescriptor& rMediaDesc ) const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > - implGetOutputStream( ::comphelper::MediaDescriptor& rMediaDesc ) const; + implGetOutputStream( utl::MediaDescriptor& rMediaDesc ) const; - virtual bool implFinalizeExport( ::comphelper::MediaDescriptor& rMediaDescriptor ); + virtual bool implFinalizeExport( utl::MediaDescriptor& rMediaDescriptor ); private: virtual StorageRef implCreateStorage( |