summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-05 21:46:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-10 02:12:25 +0200
commita1fe96482b1cd61b5681cbe3b0ea057366e465df (patch)
tree418d55e1d58ac18de05eb387c89cac59b1ceefea /sc
parent2a31ae0216b201e59f9f0cf6a69b635f6f33d5b6 (diff)
really call the vba export
Change-Id: I92e8ca85f4430ddf1c4e4e2ea3d024f8a6e23a86
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 4c84101a92d6..fec468223977 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 );