diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-08 12:24:48 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-03-08 15:44:50 +0100 |
commit | bf5c486946f2b0a708a251c8ff614293ae37c6ba (patch) | |
tree | e7c96ff3e21bf85c59f2d9c50f6b3042b1c97269 /include/oox | |
parent | c15ea73f960bbd3d2a4b0c43b467ac62eeba3505 (diff) |
tdf#116283 oox customXml: Don't write the Relationship to DOCX files twice.
Change-Id: Id3da40138e86c142707e377aa897df372aacb704
Reviewed-on: https://gerrit.libreoffice.org/50947
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include/oox')
-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 75fc03920b79..69586fe020bb 100644 --- a/include/oox/core/xmlfilterbase.hxx +++ b/include/oox/core/xmlfilterbase.hxx @@ -226,7 +226,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); @@ -259,7 +264,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; |