diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-05-24 21:13:09 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-06-07 14:48:28 +0200 |
commit | 0703af9e782f1e03c243ee886d1301e80817aad8 (patch) | |
tree | 7728919c759d118f7c1bbca82932d03b2f4e39b1 /xmloff/source/core | |
parent | 62ef5622dc10282ad9751a358bc7edbf74d2a1c3 (diff) |
Exporting EditEngine document into a buffer with ODF Filter
Change-Id: Ib0304de5d873ac833dcc121235b8de494a1bb3bf
Reviewed-on: https://gerrit.libreoffice.org/37999
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index bfb18b8e0853..f139fafbea65 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -489,7 +489,8 @@ SvXMLExport::SvXMLExport( const OUString &rFileName, const uno::Reference< xml::sax::XDocumentHandler > & rHandler, const Reference< XModel >& rModel, - FieldUnit const eDefaultFieldUnit) + FieldUnit const eDefaultFieldUnit, + SvXMLExportFlags nExportFlag) : mpImpl( new SvXMLExport_Impl ), m_xContext(xContext), m_implementationName(implementationName), mxModel( rModel ), @@ -508,7 +509,7 @@ SvXMLExport::SvXMLExport( mpImageMapExport( nullptr ), mpXMLErrors( nullptr ), meClass( XML_TOKEN_INVALID ), - mnExportFlags( SvXMLExportFlags::NONE ), + mnExportFlags( nExportFlag ), mnErrorFlags( SvXMLErrorFlags::NO ), msWS( GetXMLToken(XML_WS) ), mbSaveLinkedSections(true) |