diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-08 12:24:48 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-03-08 13:36:24 +0100 |
commit | 11c916bf87aac524fa1a833328dc6b7c99a138e4 (patch) | |
tree | 2cb820e30a5a973782a577977cdd47d82b8b4d91 /include | |
parent | f11693d5f99bbb8c9ebcd407bc3b13f05bdbd075 (diff) |
oox customXml: Don't write the Relationship to DOCX files twice.
Change-Id: Id3da40138e86c142707e377aa897df372aacb704
Reviewed-on: https://gerrit.libreoffice.org/50943
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/core/xmlfilterbase.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx index 53c80057ba60..be6366c31859 100644 --- a/include/oox/core/xmlfilterbase.hxx +++ b/include/oox/core/xmlfilterbase.hxx @@ -227,7 +227,12 @@ public: */ void exportDocumentProperties( const css::uno::Reference< css::document::XDocumentProperties >& xProperties ); + /** Write the customXml entries we are preserving (xlsx and pptx only). */ + void exportCustomFragments(); + + /** Read the document properties and also the customXml entries (xlsx and pptx only). */ void importDocumentProperties(); + static void putPropertiesToDocumentGrabBag(const css::uno::Reference<css::lang::XComponent>& xDstDoc, const comphelper::SequenceAsHashMap& rProperties); @@ -258,7 +263,6 @@ private: const css::uno::Reference< css::io::XStream >& rxOutStream ) const override; void importCustomFragments(css::uno::Reference<css::embed::XStorage>& xDocumentStorage); - void exportCustomFragments(); private: ::std::unique_ptr< XmlFilterBaseImpl > mxImpl; |