[Libreoffice-commits] core.git: Branch 'feature/vba-export' - sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Aug 5 12:47:54 PDT 2015
sc/source/filter/excel/xestream.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 5057663179244c423a299e0743c2792ffebda0ab
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Aug 5 21:46:07 2015 +0200
really call the vba export
Change-Id: I92e8ca85f4430ddf1c4e4e2ea3d024f8a6e23a86
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index bbd768d..2c4f0d7 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -50,6 +50,7 @@
#include <oox/token/tokens.hxx>
#include <formula/grammar.hxx>
#include <oox/export/drawingml.hxx>
+#include <oox/ole/vbaexport.hxx>
#include <excelvbaproject.hxx>
#include <sfx2/docfile.hxx>
@@ -1091,6 +1092,9 @@ bool XclExpXmlStream::exportDocument()
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" ) );
+ VbaExport aExport(getModel());
+ aExport.exportVBA();
+
// destruct at the end of the block
{
ExcDocument aDocRoot( aRoot );
More information about the Libreoffice-commits
mailing list