diff options
Diffstat (limited to 'oox/inc/oox/ole/vbaprojectfilter.hxx')
-rw-r--r-- | oox/inc/oox/ole/vbaprojectfilter.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/oox/inc/oox/ole/vbaprojectfilter.hxx b/oox/inc/oox/ole/vbaprojectfilter.hxx index c2baaf6c551b..03d49dfb71f1 100644 --- a/oox/inc/oox/ole/vbaprojectfilter.hxx +++ b/oox/inc/oox/ole/vbaprojectfilter.hxx @@ -40,14 +40,18 @@ class VbaProjectFilterBase : public ::oox::core::BinaryFilterBase { public: explicit VbaProjectFilterBase( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxGlobalFactory, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, const ::rtl::OUString& rAppName, - const ::rtl::OUString& rStorageName ); + const ::rtl::OUString& rStorageName ) + throw( ::com::sun::star::uno::RuntimeException ); virtual bool importDocument() throw(); virtual bool exportDocument() throw(); private: + virtual VbaProject* implCreateVbaProject() const; + +private: ::rtl::OUString maAppName; ::rtl::OUString maStorageName; }; @@ -58,7 +62,8 @@ class WordVbaProjectFilter : public VbaProjectFilterBase { public: explicit WordVbaProjectFilter( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxGlobalFactory ); + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ) + throw( ::com::sun::star::uno::RuntimeException ); private: virtual ::rtl::OUString implGetImplementationName() const; |