diff options
author | osnola <alonso@loria.fr> | 2016-11-30 19:02:39 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-12-05 10:41:51 +0100 |
commit | e51a5546ff3940866ff7cfeb4874accf69165501 (patch) | |
tree | e3e121d135211f934ca31586cae731cf5aef0d6e /writerperfect/inc | |
parent | 707c81bdba2d8145390cd3756dd93708d162b929 (diff) |
try to retrieve the .fm3 file when reading a .wp3 file
Change-Id: Ib2c2af423b92a65c08c2647a1e931ea54228c203
Diffstat (limited to 'writerperfect/inc')
-rw-r--r-- | writerperfect/inc/ImportFilter.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx index 2b4b9bb5103b..fa8f931924d2 100644 --- a/writerperfect/inc/ImportFilter.hxx +++ b/writerperfect/inc/ImportFilter.hxx @@ -64,6 +64,11 @@ public: { } + const css::uno::Reference< css::uno::XComponentContext > &getXContext() const + { + return mxContext; + } + // XFilter virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) throw (css::uno::RuntimeException, std::exception) override @@ -107,6 +112,10 @@ public: } // XImporter + const css::uno::Reference< css::lang::XComponent > &getTargetDocument() const + { + return mxDoc; + } virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override { |